python中常见模块使用及说明

random(获取随机数)

 https://www.cnblogs.com/dylancao/p/8079230.html

sys(负责程序与python解释器的交互)

https://www.cnblogs.com/Archie-s/p/6860301.html

os(负责程序与操作系统的交互)

https://www.cnblogs.com/sunyang945/p/7900957.html

*sys与os的区别

https://blog.csdn.net/liu5257/article/details/53740214

shutil(高级的 文件、文件夹、压缩包 管理模块)

https://www.cnblogs.com/caibao666/p/6433864.html

shelve(持久化数据)

https://www.jb51.net/article/118198.htm

xml.etree.ElementTree(解析xml)

*在python中存在多种解析xml的模块,这里推荐使用ElementTree

https://blog.csdn.net/weixin_39274753/article/details/82221859

ConfigParser(用于操作配置文件)

https://www.cnblogs.com/shellshell/p/6947049.html


hashlib & hmac(用于加密)

https://www.cnblogs.com/single-boy/p/7617768.html

re(正则表达式)

https://www.cnblogs.com/tina-python/p/5508402.html

猜你喜欢

转载自blog.csdn.net/weixin_39274753/article/details/82220934