But python gave me this output:
Traceback (most recent call last):
File "/home/linuxgamer21/Schreibtisch/animationentest.py", line 2, in <module>
import tkinter as tk
ModuleNotFoundError: No module named 'tkinter'
with this code:
Traceback (most recent call last):
File "/home/linuxgamer21/Schreibtisch/animationentest.py", line 2, in <module>
import tkinter as tk
ModuleNotFoundError: No module named 'tkinter'
with this code:
#!/usr/bin/python3 import tkinter as tk root = tk.Tk() thelabel = tk.Label(root, text="this is too easy") thelabel.pack() root.mainloop()