Re: Save turtle state?

2008-06-18 Thread Peter Otten
Allen wrote: > I'm using the turtle module in Python. Is there a way to save the turle > state at any moment for recursive algorithms to easily return the turtle > to an earlier point for another branch/etc? Just copying the turtle seems to work: import turtle from copy import copy def rec(t, n

Save turtle state?

2008-06-17 Thread Allen
I'm using the turtle module in Python. Is there a way to save the turle state at any moment for recursive algorithms to easily return the turtle to an earlier point for another branch/etc? Brian Vanderburg II -- http://mail.python.org/mailman/listinfo/python-list