Home  >  Article  >  php教程  >  How to use Pyintaller

How to use Pyintaller

高洛峰
高洛峰Original
2016-11-23 17:37:461520browse

Pyinstaller introduction: Python packaging program, which can package .py programs into .exe


Installation method under Windows:

pip3 install pyinstaller


Program packaging (requires CD to the directory where the program is located)

C:Python35Scriptspyinstaller -F -w -i image256.ico MainTab.py

-F Create a program

-w No black window when running

-i Use icons (icons must use ico format, recommended pixel 256x256)


Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn