The Python tkinter keys() method for a label

The Python tkinter keys() method for a label

John Philip Jones

6 лет назад

10,176 Просмотров

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


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

Sami Adel
Sami Adel - 11.12.2022 22:50

Great, really I'm shocked sir, you're giving what I was looking for, thank you 💕 God bless you .

Ответить
Binoy Thomas
Binoy Thomas - 08.08.2020 15:28

Like Elbichnito has suggested below, could you show if different threads can execute different parts of a tkinter app. Often, a loop with a sleep in one part of the code puts the rest of the code to sleep till that part of the code is competed. An example is given below:

from tkinter import *
from time import sleep

def Timer():
for i in range(5):
sleep(1)

win = Tk()

Timer()

btn1 = Button(win, text="Click")
btn1.place(x=50, y=50)

win.mainloop()

Thanks a million for the great work you have done.

Ответить
Binoy Thomas
Binoy Thomas - 08.08.2020 15:19

Mr. Jones, I have found your videos to be of the highest level of clarity and utility. Thanks a ton.

Ответить
Dimitrios Desmos
Dimitrios Desmos - 22.07.2019 14:38

Hello, how can I access the Label help files in order to read the documentation on each Key/Value combination ? thank u

Ответить
rickybee
rickybee - 08.04.2019 18:46

I am trying to use this technique to change an image assigned to a label. But I get the error str object does not support item assignment.

Ответить
Surendra
Surendra - 01.07.2018 22:12

Excellent way of teaching, animation makes the concept more clearer and easy to remember.

Ответить
Old Red Dragon
Old Red Dragon - 27.02.2018 11:55

Hi, just tried the underline with a value of 2 and saw that the letter "l" in "Hello World" was underlined so I was wondering if it has anything to do with hotkeys? BTW This series has been really informative so thanks.

Ответить