摘要:
from sqlalchemy import create_engine,Column,BigInteger,String from sqlalchemy.ext.declarative import declarative_base from sqlalchemy.orm import sessi 阅读全文
摘要:
@app.on_event("startup") def startup_event(): # 获取鼠标事件信息 global events_dict db = SessionLocal() events_dict = {event.name: event.id for event in crud. 阅读全文
摘要:
def create_user_items(db: Session, mouse_events, user, events_dict): mouse_events = json.loads(mouse_events) db.execute( models.Sessions.__table__.ins 阅读全文
摘要:
https://ftp.sjtu.edu.cn/sites/ftp.scientificlinux.org/linux/scientific/7.9/x86_64/os/Packages/ rpm -ivh xxx.rpm #yum install gcc #yum install gcc-c++ 阅读全文
摘要:
import json # 原始 JSON 数据 json_data = ''' [ {"id": 1, "name": "MOVE"}, {"id": 2, "name": "LEFT_DOWN"}, {"id": 3, "name": "LEFT_UP"}, {"id": 4, "name": 阅读全文