202103-05 详解python第三方库的安装、PyInstaller库、random库 python第三方库的安装PyInstaller库PyInstaller库能够在不同操作系统下将python源文件打包,变成直接可运行的可执行文件。可以通过—F参数对python源文件生成一个独立的可执行文件。PyInstaller-FSnowView.py执行后在dist目录中出现了SnowView.exe可执行文件。random库使用random库来生成随机数最基本random.random()生成一个0~1之间的随机小数fromrandomimport*print(random())0.02407647202090879random.seed()函数初始化... 继续阅读 >