您的位置:首页 > 编程语言 > Python开发

pyinstaller打包Python成为EXE文件,简易教程

2013-02-26 16:22 671 查看
1、到,http://www.pyinstaller.org/,下载与你Python版本及系统对应的pyinstaller,并安装

2、到,http://sourceforge.net/projects/pywin32/files/pywin32/Build%20217/,下载与你系统和python版本对应的pywin32。安装

3、把pyinstaller-2.0\pyinstaller目录下所有文件复制到pyinstaller-2.0下

`4、到命令行下

cd pyinstaller-2.0

cd pyinstaller-2.0

python pyinstaller.py c:\python27\abc.py

完成后在pyinstaller-2.0目录下会有abc文件夹,abc\dist\abc里就是打包后的所有文件
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: