摘要: # 第一种 res_list = [ {'cat_id':1,'name':'北京','parent_id':0}, {'cat_id':2,'name':'杭州','parent_id':0}, {'cat_id':3,'name':'海淀区','parent_id':1}, {'cat_id': 阅读全文
posted @ 2019-11-07 22:08 去遇见最好的自己 阅读(375) 评论(0) 推荐(0) 编辑
摘要: # 导出项目的所有依赖库 pip3 freeze > requirements.txt # 安装项目的所有依赖库 pip install -r requirements.txt 阅读全文
posted @ 2019-11-07 15:43 去遇见最好的自己 阅读(611) 评论(0) 推荐(0) 编辑
摘要: from Crypto.Cipher import AES 在python中要使用到crypto相关的库,但是网上的解决方法一大片,能用的没有几个,而且能安装的没有几个,首先我告诉大家为什么不能安装,其次告诉一种真正的方法。 pycrypto,pycrytodome和crypto是一个东西,cryp 阅读全文
posted @ 2019-11-07 07:17 去遇见最好的自己 阅读(42535) 评论(1) 推荐(8) 编辑