How To Create A Splash Screen - Python Tkinter GUI Tutorial #139

How To Create A Splash Screen - Python Tkinter GUI Tutorial #139

Codemy.com

3 года назад

64,063 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Hash#k
Hash#k - 06.09.2023 01:22

My images are not working in the the main_window only labels and buttons would work, perhaps show me how or maybe us😂

Ответить
Joseph Stalin
Joseph Stalin - 07.08.2023 07:57

Seems to be a problem with the mainloop its giving me an error "unresolved reference to 'mainloop' "

Ответить
Tomasz Szadkowski
Tomasz Szadkowski - 01.06.2023 00:37

I need destroy splash_screen after loaded main screen. I dont want to set a sleep time.

Ответить
Kid RedGlow
Kid RedGlow - 14.05.2023 06:25

_tkinter.TclError: bitmap "C:/gui/codemy.ico" not defined

Ответить
Kid RedGlow
Kid RedGlow - 14.05.2023 06:23

splash.geometry is not definined

Ответить
pingmetal
pingmetal - 03.04.2023 17:38

Instead of mainloop(), just tried splash_root.mainloop() and it works as well. Do you know which is best and why?

Ответить
ŰƊȺŸ ßØŸȺʅ
ŰƊȺŸ ßØŸȺʅ - 19.03.2023 21:53

Sir I have tried to make a splash screen a type of intro in which I used canvas and animating a photo in that, I faced two errors:

1) After 'root.overrideredirect(True)', my intro window didn't came at center of the screen like yours, it shifted to top left corner with anchor='nw' and

2) My Intro screen (Or canvas) didn't destroy and didn't show me my 2nd window

So plz help me SIR!!!!!!!!!

Ответить
Tomás G
Tomás G - 11.02.2023 21:34

I just started with Python and this video was perfect for learn and understand new things.
Thank you, greetings from Argentina

Ответить
186scott
186scott - 28.12.2022 20:45

Can this be put onto a raspberry pi without an OS once all the programming is done and have a HDMI display screen

Ответить
David Kingsley
David Kingsley - 10.09.2022 06:50

Hmmmm... When I do the overrideredirect code, the splash screen starts in the left side of the screen, destroys, then the main window opens in the right. How would I fix this?

Ответить
Najmus Saqib
Najmus Saqib - 28.07.2022 08:49

Thanx sir

Ответить
Hasan Hasan
Hasan Hasan - 01.07.2022 18:51

perfect guides tnx
can you make videos from Ursina library

Ответить
Kuch Tho Gudbud Hai
Kuch Tho Gudbud Hai - 05.02.2022 09:56

how to make another py file open with a tkinter buttom??

Ответить
Terminator 5.2
Terminator 5.2 - 05.12.2021 06:44

thankyou very much for this tutorial sir!

Ответить
Nizar bk
Nizar bk - 11.11.2021 20:28

Why u run it on the terminal?

Ответить
Code9mill
Code9mill - 12.09.2021 03:29

for me at least the splash screen is stuck in the corner

Ответить
mathophile
mathophile - 24.08.2021 16:48

can someone say how to make our splash screen like a short video. More like GIF. Any help would be appreciated.

Ответить
RedditGeek
RedditGeek - 23.07.2021 21:24

Fucking legend! ly

Ответить
Parimala Ashok
Parimala Ashok - 19.05.2021 14:30

When I put the splash screen inside the function the main window pops up before the splash screen🥺

Ответить
CREATIVE CORE
CREATIVE CORE - 18.05.2021 23:30

Dude, you're a wizard ! Thank you for all your great help

Ответить
SamCode
SamCode - 19.04.2021 02:57

thank you so much.
But,
how can I do this with Kivy for building android apps ?

Ответить
6C-STUDIO
6C-STUDIO - 09.04.2021 13:30

I am getting an error it says that mainloop is not defined how can I fix it?

Ответить
Gerald Uchie-Okoro
Gerald Uchie-Okoro - 05.04.2021 17:09

God bless you 🙏🏾🙏🏾

Ответить
Benny
Benny - 01.03.2021 20:08

could you make the main screen not in a function?

Ответить
Anass Alane
Anass Alane - 19.02.2021 12:40

I fucking love this man

Ответить
MuHammaD AyYaz
MuHammaD AyYaz - 14.02.2021 23:10

thankyou so much

Ответить
Aditya Choudhary
Aditya Choudhary - 03.02.2021 20:26

Great video sir, can you also make a video on your setup I'm really excited to see it!!!!please do it

Ответить
Rameh Harmouch
Rameh Harmouch - 25.12.2020 21:05

how to control the Toplevel screen?, when the user click a button to open a toplevel screen, how to don't return to the first screen if the don't click anything in the second screen

Ответить
Shibashis
Shibashis - 24.12.2020 10:21

He looks like walter white

Ответить
sam editions
sam editions - 23.12.2020 14:03

How place progressbar with splash screen

Ответить
Wyvern G
Wyvern G - 25.11.2020 07:48

Like! Nice video, Thank you!

Ответить
Toaster5
Toaster5 - 23.11.2020 00:05

and now without libraries

Ответить
computer brand
computer brand - 03.11.2020 18:13

Sir what i initialize splash screen as TopLevel window?

Ответить
ANTU KHAN
ANTU KHAN - 30.10.2020 19:42

Where did u learn this from ? Subscriber since 7k

Ответить
Ankush Chauhan
Ankush Chauhan - 30.10.2020 18:05

Please cover flyer design using python

Ответить
Nassirou Abdoul Madjid
Nassirou Abdoul Madjid - 30.10.2020 07:43

Please I would like to know if it is possible to create a button back to the previous page with tkinter ?

Ответить
Michael Sear
Michael Sear - 29.10.2020 15:38

Why is just mainloop(), not splash_root.mainloop()?

Ответить
CommanderQuack
CommanderQuack - 28.10.2020 22:47

guys i have a problem it doesnt let me finish my code with just the mainloop() function the program wants me to put root.mainloop() and that is the thing stopping my program can someone help me?

Ответить
Loknath Shankar
Loknath Shankar - 28.10.2020 15:47

Renpy is also great to create ui, it's a game engine but pretty strong

Ответить
ebaad khan
ebaad khan - 28.10.2020 07:54

thank youuu sirr for answering my questions i was asking thousands of people but only you answered thank you!!!!

Ответить
Bryan Oakley
Bryan Oakley - 28.10.2020 02:12

This would be better if you followed PEP8 guidelines for the import. It's also not great to be encouraging people to create more than one instance of Tk. While harmless for a splash screen, it teaches a bad habit that can cause problems in more complex applications.

Ответить
Phazedout InTheDesert
Phazedout InTheDesert - 27.10.2020 20:00

Question: First, thank you John for you all you do! I admit, i have not gone through all 139 great videos, so I want to know, have you covered the following topic, "How to embed stdout into a tkinter window?". I am running Python 3.9 on Windows and can't seem to find code that run well. I suppose it has to run threads and pack into frames or grids??? Cheers!

Ответить
Md Babuddin
Md Babuddin - 27.10.2020 18:07

Hey, if tou put a error messagebox inside the" def main_window (): "it will show a message and then it will open an empty tkinter window automatically.

Ответить
Kshitij Gupta
Kshitij Gupta - 27.10.2020 16:07

That insanely cheap expression deserves Oscar!

Ответить
Kshitij Gupta
Kshitij Gupta - 27.10.2020 14:47

I think I could add a fake progress bar in splash screen and make it look like it is progressing then 💥 boom

Ответить