Copy this code into a fresh Python document

import time                                                #imports time module
from tkinter import *                                  #imports drawing tools
win=Canvas(tk, width=400, height=400)   #Change numbers to change size of window
win.pack()                                                  #Places the canvas

#Insert all code here

tk.mainloop()                                            #Don't put code underneath this

Run the code and check to make sure it opens a window
This is similar to the Turtle window but not exactly the same