MyTetra Share
Делитесь знаниями!
1. подключение к БД
Время создания: 22.04.2017 14:28
Раздел: Python - pymongo
Запись: xintrea/mytetra_db_mcold/master/base/1492860510txfnmtb1vt/text.html на raw.githubusercontent.com
from pymongo import *

client = MongoClient(
host='localhost', port=27017)

db = client.test
# connect to database 'test'
# db = client['primer'] # the same as row before
 
MyTetra Share v.0.59
Яндекс индекс цитирования