摘要: 1、把登录与注册的密码都换成密文形式 import hashlib pwd = input('请输入密码:').strip() with open('db.txt','a',encoding='utf-8') as f: hash1 = hashlib.md5(pwd.encode('utf-8') 阅读全文
posted @ 2020-03-31 22:12 凌醉枫 阅读(164) 评论(0) 推荐(0) 编辑
摘要: json与pickle模块 1、什么是序列化&反序列化内存中的数据类型 >序列化 >特定的格式(json格式或者pickle格式)内存中的数据类型< 反序列化< 特定的格式(json格式或者pickle格式)土办法:{'aaa':111} >序列化str({'aaa':111}) >"{'aaa': 阅读全文
posted @ 2020-03-31 19:01 凌醉枫 阅读(333) 评论(0) 推荐(0) 编辑
摘要: Try to run this command from the system terminal. Make sure that you use the correct version of '... image.png PyCharm中导入flask这个module时遇到: Try to run 阅读全文
posted @ 2020-03-31 15:29 凌醉枫 阅读(32055) 评论(0) 推荐(0) 编辑