For example, there is a code:
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 (
ProgerLib Python For Everyone
📁 discussion, Useful Tips and Lifehacks, python3, Beginner
For example, there is a code:
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 ( No logic for movement left/right — the code tracks only the y coordinate (vertical), and for horizontal movement you need
Log in to leave an answer