摘要: 引用PyMongo>>>importpymongo创建连接Connection>>> importpymongo>>> conn=pymongo.Connection('localhost',27017)或>>> frompymongoimportConnection>>> conn=Connection('localhost',27017)创建Connection时,指定host及port参数>>> importpymongo>>> c 阅读全文
posted @ 2011-06-15 15:24 libingql 阅读(88218) 评论(0) 推荐(4) 编辑
摘要: PyMongo下载PyMongo下载地址: http://pypi.python.org/pypi/pymongo/#downloads当前可下载选项:pymongo-1.11.tar.gz Sourcepymongo-1.11.win32-py2.7.exe MS Windows installerPyMongo安装安装pymongo-1.11.tar.gz解压之后,cmd运行语句:C:\Users\libing>cd/dE:\pymongo-1.11E:\pymongo-1.11>pythonsetup.pyinstall安装pymongo-1.11.win32-py2.7.e 阅读全文
posted @ 2011-06-15 14:48 libingql 阅读(22482) 评论(1) 推荐(0) 编辑