Standalone Python EXE Executable - Python Tkinter GUI Tutorial #40

preview_player
Показать описание
In this video I'll show you how to turn your Python tKinter program into a standalone executable exe file that you can share with your friends, or sell on your website.

There are many ways to make a .exe file out of a tKinter program. In this video I'll show you the fastest and easiest method using pyinstaller.
Рекомендации по теме
Комментарии
Автор

Use the flag --windowed, so that black console window won't show up.

bitpilot
Автор

Before you turn it into a exe, rename the file to .pyw instead of .py

That will get rid of the command prompt that always shows up

MadhuKraft
Автор

▶️ Watch Entire Tkinter Playlist ✅ Subscribe To My YouTube Channel:
▶️ See More At: ✅ Join My Facebook Group:
Take $30 off with coupon code: youtube1

Codemycom
Автор

This was great!! So straightforward and useful. I was able to build a front end GUI app for my python script at work because of this video. Awesome job man.

Matt-kemc
Автор

in order to avoid the "command window" to pop up when you run the executable, you just have to write "-- noconsole" along with the pyinstaller call

popotoITA
Автор

I just signed up for the full membership. Thanks for making useful videos.

AdAstraCan
Автор

Thanks for the video and the entire playlist, it has been so helpful! Subscribed and liked!

benjaminodriscoll
Автор

I watched many parts of the series and its awesome, thank you John!

Sergio-tdmn
Автор

Thanks for this tutorial, I had been trying to do that since ages. Really appreciate your work.

MitraElectronics
Автор

Thank you so much for the info that I can clean up everything besides the main file!

slasaru
Автор

THANK YOU. I was trying to look up how to make an executable .exe, but the program that you used to make the .exe actually helped me with my program. I had a problem with inputting the text into the same window and the "myLabel = tkinter.Label(root, text) " helped. Thank you!

allenhirahara
Автор

Thanks for this tutorial! Finally my school project has been completed. 🙂

unknowngalaxy
Автор

Great tutorial, we can also add '--noconsole' in the command prompt to hide the black window

jacinthompeteye
Автор

IT'S ALWAYS THE UNDERRATED VID THAT'S LEGIT! THANK YOU! <3

arturdashev
Автор

wow cant believe I hadn't run across this before. thanks, mate!

RyanDanielG
Автор

Adding --noconsole does the job perfectly!

TaskForcecod
Автор

your a boss sir i watched all your videos there amasing sirtenly with your dog

code
Автор

pyinstaller -w --onefile --icon=codemy.ico entry_height.py
-w (to avoid cmd console)
Thanks for tutorial man!

Seddik-hfpc
Автор

Try to run this 'standalone program' in any other windows computer( if possible except windows10 ) . It does not work for me at least.
Also will it work on other os?

hareknowsnone
Автор

I'm having issues with Windows Defender flagging my exe file as a Trojan. It only seems to happen when I use the --onefile flag, but it defeats some of the purpose of packaging my script if my coworkers have to keep the two directories as they are in order to use the program. Sending one executable file would be much cleaner.

Does anyone have any suggestions?

stephenwilson