03 2019 档案
摘要:import pymongo mongo_client = pymongo.MongoClient(host="127.0.0.1",port=27017) DB = mongo_client["users"] 1.查询 res = list(DB.school.find()) res = DB.school.find_one({"class_name":"16"},{"_id":0,"s...
阅读全文
摘要:前期准备: 1.FFMPEG - https://pan.baidu.com/s/1jonSAa_TG2XuaJEy3iTmHg w6hk #转格式的软件 2.baidu-aip - pip install baidu-aip #百度aij模块 3.图灵网站创建机器人http://www.tulin
阅读全文
摘要:一.单方聊天 1.app.py # websocket from geventwebsocket.server import WSGIServer # 我要WSGI为我提供服务 from geventwebsocket.handler import WebSocketHandler # WSGI 遇到 WS协议的时候,处理方式 from geventwebsocket.websocket im...
阅读全文