python

 

1、拓扑排序 

https://blog.csdn.net/weixin_42018258/article/details/80585842

2、数组逆序

reverse() 

3、dict 由value获取key

def get_key (dict, value):
return [k for k, v in dict.items() if v == value]

 

4、pyinstaller生成exe文件

到源代码目录下,执行命令:
pyinstaller xx.py -F

 

5、常用下载网址

https://www.lfd.uci.edu/~gohlke/pythonlibs/#lxml

6、库大全

https://blog.csdn.net/u010670689/article/details/51911240

 

posted @ 2018-12-21 17:34  Vtianhu  阅读(96)  评论(0编辑  收藏  举报