Skip to content

joeldcosta/pyinstaller

Repository files navigation

pyinstaller

creating exe and adding icon & version code

Watch Youtube Video first to understand how it all works:- https://youtu.be/boISYDbVcjs

FULL PYTHON TO EXE TUTORIAL A to Z in one video

Building Executable

Run > CMD > pip install pyinstaller

pyinstaller.exe app.py

pyinstaller.exe --onefile app.py

pyinstaller.exe --onefile --windowed app.py

pyinstaller.exe --onefile --windowed --icon=app.ico app.py

pyinstaller.exe --onefile --windowed --icon=app.ico --version-file=version.txt app.py

Pyinstaller Error solutions: https://stackoverflow.com/questions/37815371/pyinstaller-failed-to-execute-script-pyi-rth-pkgres-and-missing-packages

Q. How to put application run at startup?

Ans. a) Run > shell:startup [type enter] b) Create a shortcut and browse to your exe.

Note:- icon size should be 256x256

Give me a shout if you're using this in your project!

About

MY GitHub Repo

Check out my Git Repo

My Blog

Take a Read

My Youtube

Take a Read

Follow me on

Follow me on Twitter

Buy Me A Coffee

Buy Me A Coffee

Join Google Pay Get Free Cashback

Cash Back By Google

About

creating exe and adding icon & version code

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published