Bale
Broken broken Shen Zhou, hundred and Qin Guan final Chu
hardships, can swallow a thousand more WU
emm ... nothing is feeling emotion, reflect your own culture
how should I say, python is a good language, with I really appreciate the wonders of programming, simple structure, less stringent language requirements, which I liked ~~ prefer point is that many of its open source code and tutorials, when something you do not see, to think hard what you want when the degree of your mother or valley dog look, you can get a lot of unexpected things you want
but the more I learn the more he is a little rookie, wrote this "Python make a simple GUI" on the next purpose is to: 1 . history note of the outcome of their own a small, easy to use after the investigation 2. 'delegate rose, a shop unless', when want to eat white bread, cut cake can smell the smell 3. alert myself,' mountain heavy water re suspect has a silver lining ', when faced with difficulties, do not be discouraged, maybe the next village has it Pork
1 topic
In making a simple Python GUI- [Part I], we mentioned how to use Python, PYQT, QTdesinger do a little simple interface. However, this small interface is based on pycharm this IDE to open. So, independent of how it is made, League that [here BGM: emmm ... miss ah, our youth ah ~], point a small icon on the desktop can go exe file it.
For everyone to push a simple way, pyinstaller package
Knead 2 exe
2.1 pyinstaller Installation Issues
We will install it, pip or IDE comes with multi-pack systems can be installed, installation is also very good, but, as with other third-party packages, like = = where there may be a series of problems ... the third week of October, I wanted to try out a small image processing GUI, algorithms have been written, the interface is also a good tune, this is the last package has been reported BUG, adjusted for nearly two days.
BUG is a system in which [AttributeError, No module named ...]
bundled install this pip install setuptools
solving experience of BUG
2.2 pyinstaller use
Very simple to use, open dos window, enter the following command:
recommended dos open window in GUI creation, eliminating the need to write the path of time (cd folder path).
Pay attention to the picture format icon configuration, this can be based on personal likes, to download the pictures, and made an icon.
2.3 The results show
This is to make it a good exe files:
Open to try:
to run successfully.
Of course, according to individual needs, you can also make your own modeling to meet the needs of small software:
run it, teenagers!