HTTPServer 配置文件:当模块需要用户自己确定内容较多时,可以通过配置文件添加 json --> "{'a':1,'b':2}" 可以把字典变成字符串 cookie: import json json.dumps(dict) 功能:将字典转换为字符串 json.loads(json) 功能:将json转换为字典