title: Using turtle module exitonclick()
body: <p>My code should close the turtle.screen after first part then start another screen and do the second part. but there it is not working as intend.</p>
  
  <pre><code>import turtle
  
  ws = turtle.Screen()
  tod_1 = turtle.Turtle()
  tod_1.color("red", "green")
  tod_1.begin_fill()
  for i in range(3):
      tod_1.forward(50)
      tod_1.left(360 / 3)
  tod_1.end_fill()
  ws.exitonclick()
  
  input("go'press any thing' ")
  
  ws = turtle.Screen()
  tod_2 = turtle.Turtle()
  tod_2.color("red", "green")
  tod_2.begin_fill()
  for i in range(6):
      tod_2.forward(50)
      tod_2.left(360 / 6)
  tod_2.end_fill()
  ws.exitonclick()
  </code></pre>
  
  <p>the first part works fine but I get this after the input():</p>
  
  <pre><code>go'press any thing' 
  Traceback (most recent call last):
    File "test2.py", line 16, in &lt;module&gt;
      tod_2 = turtle.Turtle()
    File "C:\Users\itt\AppData\Local\Programs\Python\Python36-32\lib\turtle.py", line 3816, in __init__
      visible=visible)
    File "C:\Users\itt\AppData\Local\Programs\Python\Python36-32\lib\turtle.py", line 2557, in __init__
      self._update()
    File "C:\Users\itt\AppData\Local\Programs\Python\Python36-32\lib\turtle.py", line 2660, in _update
      self._update_data()
    File "C:\Users\itt\AppData\Local\Programs\Python\Python36-32\lib\turtle.py", line 2646, in _update_data
      self.screen._incrementudc()
    File "C:\Users\itt\AppData\Local\Programs\Python\Python36-32\lib\turtle.py", line 1292, in _incrementudc
      raise Terminator
  turtle.Terminator
  </code></pre>
  
  <p>I tried to clear all variables using:</p>
  
  <pre><code>import sys
  sys.modules[__name__].__dict__.clear()
  </code></pre>
  
  <p>then import turtle again and do the sec. part, but without success. </p>