turtle dump

Michiel Overtoom motoom at xs4all.nl
Thu Jul 16 15:17:47 CEST 2009


I got success with the following code (python 2.6.2):

import turtle
turtle.reset()
for i in range(4):
    turtle.forward(50)
    turtle.right(90)
can=turtle.getscreen().getcanvas()
can.postscript(file="tmp.ps")


-- 
"The ability of the OSS process to collect and harness
the collective IQ of thousands of individuals across
the Internet is simply amazing." - Vinod Valloppillil
http://www.catb.org/~esr/halloween/halloween4.html



More information about the Python-list mailing list