Tkinter में Sleep और While True
📁 चर्चा, सोवियत, पायथन3, नौसिखिया
n
उदाहरण के लिए, एक कोड है:
n Def tk_sleep (): n statatus_send = tk () n n. Status_Send.geometry ( '400x340' ) n tx_1 = text (status_send, font = ( '' times' , 12 ), width = 62 , height = 15 , wrap = word) nor n. tx_1.pack () n for i in range ( 10 ): n tx_1.insert ( 1.0 , 'Hello world' ) n TX_1.UPDATE () N Sleep ( 5 ) n