Create New Windows in tKinter - Python Tkinter GUI Tutorial #14

Create New Windows in tKinter - Python Tkinter GUI Tutorial #14

Codemy.com

5 лет назад

161,197 Просмотров

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


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

fast and furious
fast and furious - 04.09.2023 17:35

why I can't use from tkinder import * it showing error at from that is unused import(s)

Ответить
siddanna arakeri
siddanna arakeri - 22.07.2023 21:21

New window open but only command button root.destroye pleas another like submit option where def option enter

Ответить
Integrate2
Integrate2 - 12.06.2023 19:46

File "<string>", line 2, in <module>
ImportError: cannot import name 'ImageTK' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py)

Ответить
elderly xenomorph
elderly xenomorph - 02.06.2023 17:09

'top' variable is inside the function and in some cases may not be in scope. This will sometimes result in an error. NameError: name 'top' is not defined. for the function to work correctly, the top variable must be placed before the function definition, and inside the function itself

Ответить
MISTER
MISTER - 06.05.2023 00:42

i thought uou would make it:
for i in 255:
print('Create New Windows in Tkinter - Python Tkinter GUI Tutorial #' + str(i))

Ответить
MISTER
MISTER - 06.05.2023 00:39

you messed up on the title it says ''tKinter' instead of 'TKinter'

Ответить
Rithik Saran
Rithik Saran - 06.03.2023 20:04

Sir can you please make a vidieo on how to play GIF in tkinter window.
PLEASE SIR, I request

Ответить
Regina Jalandoni
Regina Jalandoni - 31.01.2023 05:16

I'm losing my mind why the image is not appearing in my second window. You're really a great help thanks!!

Ответить
Learning with Fahad
Learning with Fahad - 21.01.2023 09:32

Great help! I was stuck on the image part for many hours but found no solution until I found the global var part. Thanks!

Ответить
Useless Virus
Useless Virus - 20.11.2022 13:51

Freshman here, It is possible to add animation to my rock paper scissors game and picture?

I desperately need help💀🙏

Ответить
Paul Watterson
Paul Watterson - 13.09.2022 17:12

Thanks! great video.

Ответить
Gerardo Salas
Gerardo Salas - 03.09.2022 05:18

How Can I do an InternalTopLevel in Python like as JInternalFrame in Java

Ответить
podemb
podemb - 31.08.2022 00:17

just what i needed thanks

Ответить
Victor Nunes
Victor Nunes - 12.08.2022 05:52

John, I think that declaring the image variable out of the function is a better option than using "global".
Because you just load the picture on runtime, and pack it when the function is triggered by the button.
Please, correct me if I'm wrong.

Ответить
Nagol
Nagol - 30.07.2022 07:50

Thank you for the video! How do I add a frame to a Toplevel() window? I can't seem to find an answer anywhere.

Ответить
Funny Clips
Funny Clips - 16.02.2022 15:54

I so much enjoy your tutorials.... 👌🏾👍🏾

Ответить
Milan Španko
Milan Španko - 21.01.2022 20:13

And again, you spared me a lot more sleepless nights trying to figure out this struggle. Thanks, Codemy :-)

Ответить
Flying Dinosaur
Flying Dinosaur - 13.01.2022 15:51

THAT GLOBAL THING - Thank you!

Ответить
chris gettier
chris gettier - 10.01.2022 19:18

nice

Ответить
KH
KH - 12.12.2021 10:45

Cannot express how grateful I am to you. Thanks!!

Ответить
Sandro Gianni
Sandro Gianni - 06.11.2021 20:58

please, but in second window, how insert Entry, label and execute whith button? alwwais in second windows

Ответить
Mohammad Sorour
Mohammad Sorour - 26.09.2021 13:57

how can open new window in the same root window

Ответить
Alberto G.
Alberto G. - 06.09.2021 00:58

Good for you !! Thanks for the video, helped me!

Ответить
Tarekere Rajeeva
Tarekere Rajeeva - 18.08.2021 09:13

Can you show how to insert values into a database in a second window please

Ответить
vijay kumar gupta
vijay kumar gupta - 12.08.2021 17:24

can you plz help with how first window get close when 2nd opens

Ответить
Abdullah Tariq
Abdullah Tariq - 30.07.2021 16:52

what logic should apply to if " In one window 6 buttons and behind these btns a new window will open "
i mean toplevel() is OK or some other logic should apply?

Ответить
Audi's Gamers
Audi's Gamers - 25.06.2021 04:04

Very helpful video! But I do have a query: when I use this open new window function, the treeview that I have specified to show up doesn't have any data in it. It's just an empty treeview. Can anybody help me with this? Thanks!

Ответить
Kalpesh Patel
Kalpesh Patel - 10.06.2021 10:07

button on root screen will open second window multiple times, how can i prevent to opn window, if it is already opened once

Ответить
mee
mee - 06.06.2021 08:45

What if we use .quit instead of using destroy..?
How to create a third window..?

Ответить
mee
mee - 06.06.2021 08:31

What will happen if top is assigned as Tk()
I have a doubt whether toplevel () which is assigned to top is a keyword...?

Ответить
Sakshi Harbhajanka
Sakshi Harbhajanka - 31.05.2021 15:18

Best playlist

Ответить
Juan Bernal
Juan Bernal - 16.05.2021 16:30

Buen video.
Una consulta cuantos def puedo anidar dentro de un def

Ответить
- Kerplink -
- Kerplink - - 08.05.2021 15:30

I've noticed that you can open the same window twice at once using this method, is there a way to make it so you can only open the second window so no more than one at a time can be opened?

Ответить
Stivun Nikolov
Stivun Nikolov - 02.05.2021 10:43

Its freaky friday here in vegas. Your vids are great man

Ответить
Lynn McGarry
Lynn McGarry - 19.04.2021 13:50

3 days I've spent on this and you solved it in a couple of mins. Can't thank you enough.

Ответить
CREATIVE CORE
CREATIVE CORE - 31.03.2021 04:44

This is master class material! Thank you Codemy :)

Ответить
MedTech
MedTech - 27.03.2021 15:27

I want to create a new window for my TextEditor And I just want to duplicate my Default window

Ответить
Kenneth Obeng
Kenneth Obeng - 26.03.2021 02:58

At this point, I think I should pause my life and watch all your videos before I continue. It'll really save me a lot of stress and time.

Ответить
Goutam Nayak
Goutam Nayak - 18.03.2021 14:13

Sir I am using OOP. with class involved and I want to popup a window from function present inside a class. but when I write it says 'RAM ROM' (class name) object has no attribute Toplevel.Plz help me sir.

Ответить
Philip R. Baldwin
Philip R. Baldwin - 27.02.2021 09:06

How can one add a figure in the new window? I am having trouble and there is a lot of non-working examples on the internet

Ответить
Shubhanshu Sharma
Shubhanshu Sharma - 18.02.2021 12:42

How to set toplevel image as background image

Ответить
Global Guru . 3 lakh views . 3 days ago
Global Guru . 3 lakh views . 3 days ago - 04.02.2021 06:20

please kindly explain how to create second window inside the first main window, just like MDIForm in Visual Basic.

Ответить
Sahil Nigam
Sahil Nigam - 17.01.2021 08:41

ofc a udemy ad is required before the video starts

Ответить
Hello Bro
Hello Bro - 02.01.2021 21:40

Sir, what's is the difference between root.quit & root.destroy? Just wanted to know.

Ответить
EVIN LERRICK MOSCA
EVIN LERRICK MOSCA - 02.12.2020 13:47

can you help me the submit button does not exit on my new window :(

Ответить
P_Rod
P_Rod - 24.11.2020 17:30

Instead of making the image global I create my_img outside the function and then create the label/pack it in the function. Any reason not to do this?

Ответить
SAMANE EH
SAMANE EH - 22.11.2020 20:56

Hello
i have question and i will thank you that help me,
I want to create a small program that moves files on my Windows PC from one folder to another, with a simple GUI. How do I do this using python?

Ответить