النوم وWhile True في Tkinter
📁 مناقشة, نصيحة, بايثون 3, مبتدئ
على سبيل المثال، هناك كود:
def tk_sleep ():
status_send = tk ()
status_send.geometry ('400x340')
tx_1 = text (status_send, font = ('Times', 12), width = 62, height = 15, wrap = word)
tx_1.pack ()
for i in range (10):
tx_1.insert (1.0, 'Hello world')
tx_1.update ()
sleep (5)