by SamBam · 7y ago · 0 comments
When I remove the tracer line to "watch the drawing," I don't even get that. The Terminal just returns instantly.
Looking at tracer documentation, it's supposed to be `(which-frames-to-render, delay)`. If I set it to `turtle.tracer(1, 10000)` I get exactly the same flashing window as (0,0).
How can I see the result?
python -i turtlestuff.py
Then you'll get an interactive Python prompt and you can call the functions directoy, e.g. spirals()
Hope this helps you!Then you get turtles all the way down!
python -c 'from turtlestuff import *; snowflakes(); turtle.mainloop()'
or python -c 'from turtlestuff import *; snowflakes(3); turtle.mainloop()'
or python -c 'from turtlestuff import *; orb(); turtle.mainloop()'