Preparation python3 write exe gadget

1. Environment

windows7、python3

2. Editor

pycharm

Installation 3.python3 environment

pip3、PyQt5、pyinstaller

pip3 install PyQt5, can first download PyQt5.whl, with pip3 install xxx.whl

pip3 install pyinstaller (this is used to make tools packaged into exe)

4. Use pycharm development tools

4.1 This development needed to set python environment, if there are two kinds of python2 and python3 on your computer, you need to select the appropriate language development version

 

Gadgets can run app.py development process can also debug app.py

After the completion of other functions, with pyinstaller3 -F -w app.py packaged into exe, the exe usually appears in the dist folder.

 

Guess you like

Origin www.cnblogs.com/lingwang3/p/11244474.html