Connettiti a un database esistente
import pymongo
from pymongo import MongoClient
connection = MongoClient()
db = connection.mydatabase
import pymongo
from pymongo import MongoClient
connection = MongoClient()
# connection.database_names() # depreciated
connection.list_database_names()