python 脚本编译打包成exe可执行文件

https://www.tutorialspoint.com/pyqt/pyqt_hello_world.htm
http://doc.qt.io/qt-4.8/examples-webkit.html

https://riverbankcomputing.com/software/pyqt/download5

https://www.widlabs.com/article/no-module-named-pyqt5-qtwebkitwidgets
http://blog.csdn.net/freewind06/article/details/52140921?locationNum=6
http://www.pyinstaller.org/


E:\eclipse-pyqt\PyQt5_gpl-5.9.1.dev1707250927\examples\dialogs\extension.py


C:\Users\admin\AppData\Local\Programs\Python\Python35-32\Lib\site-packages\PyQt5\Qt\bin


E:\eclipse-pyqt\PyQt5_gpl-5.9.1.dev1707250927\examples\dialogs>pyinstaller -p C:
\Users\admin\AppData\Local\Programs\Python\Python35-32\Lib\site-packages\PyQt5\Q
t\bin -F -w extension.py

 

1
  可选的opts有:
  -F, –onefile 打包成一个exe文件。
  -D, –onedir 创建一个目录,包含exe文件,但会依赖很多文件(默认选项)。
  -c, –console, –nowindowed 使用控制台,无界面(默认)
  -w, –windowed, –noconsole 使用窗口,无控制台

E:\eclipse-pyqt\PyQt5_gpl-5.9.1.dev1707250927\examples

https://pypi.python.org/pypi

http://www.jb51.net/softs/541909.html

http://download.qt.io/archive/qt/

https://docs.python.org/2/library/struct.html

struct.pack使用例子:
https://github.com/OffensivePython/Pinject/blob/master/pinject.py


http://squirrelmail.org/documentation/
http://jimjag.github.io/telaen/


pyinstaller -p C:\Users\admin\AppData\Local\Programs\Python\Python35-32\Lib\site-packages\PyQt5\Qt\bin -F -w terminal_apply

 

posted @ 2017-08-03 17:47  未命名blogs  阅读(237)  评论(0编辑  收藏  举报