Tk n'est pas défini Python 3

# Tk was renamed many versions ago, you should instead import tkinter

from tkinter import Tk

main = Tk()
Orion