Python py to exe

11 Views
Published
python convert .py to .exe file tutorial example explained

#python #py #exe

***********************************************************
(Windows Defender may prevent you from running)
(make sure pip and pyinstaller are installed/updated)

1. cd to directory that contains your .py file
2. pyinstaller ...
-F (all in 1 file)
-w (removes terminal window)
-i icon.ico (adds custom icon to .exe)
clock.py (name of your main python file)

3. exe is located in the dist folder
***********************************************************

Bro Code merch store
Category
Bro Code
Tags
python py to exe, py to exe, .py to .exe
Be the first to comment