python杂项

Python 备忘

http://codinn.com/people/brant/notes/110947/

 

Windows下怎么把python脚本编译成exe

目前至少有三种东西,可以把python封装成exe:
py2exe
PyInstaller
cx_Freeze

建议你用PyInstaller,因为:

我用过PyInstaller,非常好用,就一个命令,就可以搞定生成单个exe了:
pyinstaller.py -F ..BlogsToWordpressBlogsToWordpress.py

详见:
【记录】用PyInstaller把Python代码打包成单个独立的exe可执行文件

(此处不给贴地址,请自己用google搜标题,即可找到帖子地址)
原文地址:https://www.cnblogs.com/jingzhishen/p/3365666.html