1.加速python运行速度,采用.pxd和.pyx文件
http://docs.cython.org/en/latest/src/tutorial/pure.html
https://blog.csdn.net/mmc2015/article/details/51918044
2.python包的理解
https://www.cnblogs.com/feeland/p/4401758.html
3.py文件调用其它文件夹下的py文件
https://blog.csdn.net/lwgkzl/article/details/81161985
4.scapy包安装
https://github.com/secdev/scapy
git clone https://github.com/secdev/scapy
cd scapy
./run_scapy
将得到的scapy包直接拷到anaconda的site_package目录下
5.os.system()使用
https://blog.csdn.net/GodDavide/article/details/86514705
https://my.oschina.net/u/3636678/blog/2986082
os.system执行多条语句:https://blog.csdn.net/fengqingting2/article/details/41940149
不要采用:
os.system(“cmd1”);
os.system(“cmd2”);
这样不保证它是顺序执行的,如果cmd2依赖cmd1则会出现不可预知的错误。采用https://blog.csdn.net/fengqingting2/article/details/41940149这种方式,将多条语句放入一个os.system中。
6.joblib 保存和读取
https://blog.csdn.net/YZXnuaa/article/details/80694372
7.python中yield的用法详解
https://blog.csdn.net/mieleizhi0522/article/details/82142856
8.python闭包
https://www.cnblogs.com/duanlianjiang/p/5036671.html
9.python二进制字符串转数字
print(bytes([102,111,111]))
#b’foo’
list(b’foo bar’))
#[102,111,111,32,98,97,114]
10.__new__()方法与单例模式
https://blog.csdn.net/shen_chengfeng/article/details/80866147
11.python 多进程向列表添加数据
https://www.cnblogs.com/fujian-code/p/8977744.html
12.python模块导入原理
https://www.cnblogs.com/lakeone/p/7429409.html
13 python中类变量,成员变量
https://www.cnblogs.com/Wanggcong/p/5162279.html