连接mongodb:
client=pymongo.MongoClient(host,port)
db=client['spz']
collection=db['stu_info']
collection.insert({})
collection.find({'k','v'})
collection.delete({})
collection.update({'sex':'nav'},{})