我正在尝试使用pymongo连接mongo DB。
如何获取收藏夹列表?
import pymongo
from pymongo import MongoClient
import pandas as pd
import json
uri = "mongodb://XXX:abcd@dev-mongo.XXX.com/YYY?authSource=admin&authMechanism=SCRAM-SHA-1"
client = MongoClient(uri)
db = client['database_name']
collection=db['collection_name']
coll_list = db.collection_names()
答案 0 :(得分:0)
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
Process.Start("7z.exe","-e" Textbox1.Text + Combobox1.Text )
End Sub