xuewanqi / fyp_demo_python

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

fyp_demo_python

How to create exe file

step 1: pip install pyinstaller

step 2: using cmd, go to the directory where the python file is at

step 3: type this command: pyinstaller demo.py --onefile --noconsole

step 4: after pyinstaller finishes doing its thing, go to dist folder and drag the demo.exe out

do note that all the other dependencies such as images and other python file needs to be in the same directory as the exe file

About


Languages

Language:Python 100.0%