win10中python3.7打包.py文件的方法

小编给大家分享一下win10中python3.7打包.py文件的方法,希望大家阅读完这篇文章后大所收获,下面让我们一起去探讨方法吧!

win10python3.7的打包方法:

1、下载pyinstaller并安装

下载pyinstaller

pip install https://github.com/pyinstaller/pyinstaller/archive/develop.tar.gz

win10中python3.7打包.py文件的方法

安装pyinstaller

pip install pyinstaller

win10中python3.7打包.py文件的方法

2、打开cmd,进入到要打包文件的目录下

win10中python3.7打包.py文件的方法

3、输入pyinstaller -F xxx.py,xxx为要打包的文件名,然后回车

win10中python3.7打包.py文件的方法

看完了这篇文章,相信你对win10中python3.7打包.py文件的方法有了一定的了解,想了解更多相关知识,欢迎关注行业资讯频道,感谢各位的阅读!