turtle dump

Bearophile bearophileHUGS at lycos.com
Thu Jul 16 14:22:22 CEST 2009


Superchicken:
> is there a way to dump the content of a turtle window to a file or a file object?

A possible low-tech solution is to append to a list the sequence of
your plotting commands (using a decorator too, even, something like
the logging decorator), and then save all of them at the end into a
text file :-)

Bye,
bearophile



More information about the Python-list mailing list