mongodb python driver--pymongo
1,install driver
RHEL上无法通过yum安装, 所以:/usr/bin/easy_install pymongo
Ubuntu上无法通过apt安装,所以:apt-get install python-pip ; pip install pymongo
2,usage
>>>import pymongo
>>>client=MongoClient('ip',p
原创
2013-07-12 19:09:16 ·
921 阅读 ·
0 评论