Nov-18-2018, 06:46 PM
import turtle as tl import os home = tl.Screen() home.bgcolor("black") home.title("Home Screen") lastlevel = 1 start = tl.Turtle() start.color("green") start.shape("square") def startlevel(x,y): global lastlevel s = "Level %s.py" % lastlevel os.system(s) return start.onclick(startlevel) tl.mainloop()This is my code, the other python file (Level 1.py) works perfectly fine. When i press on the turtle, a screen flickers on for just a moment and than disappears. Can you help me make this work?