Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

create a window turtle python

import turtle

# Create the window
wn = turtle.Screen()
wn.setup(800, 600) # Dimensions
wn.bgcolor("black") # Background color
wn.title("Window") # Title

# Main loop
while True:
  window.update() # Update window
 
PREVIOUS NEXT
Tagged: #create #window #turtle #python
ADD COMMENT
Topic
Name
4+4 =