mongodb windows install &python
安装mongo
http://docs.mongodb.org/manual/tutorial/install-mongodb-on-windows/
其中修改:
echo logpath=C:\mongodb\log\mongo.log > C:\mongodb\mongod.cfg
此命令行用来配置mongodb安装,创建文件夹
mk C:\mongodb\data\db
mk C:\mongodb\log
编辑mongod.cfg如下:
##store data here dbpath=C:\mongodb\data\db ##all output go here logpath=C:\mongodb\log\mongo.log ##log read and write operations diaglog=3
安装python环境和pymongo
https://pypi.python.org/pypi/pymongo/#downloads