[Tutor] how to write a turtle.py program
Michael Janssen
Janssen@rz.uni-frankfurt.de
Tue Feb 11 08:42:01 2003
On Wed, 12 Feb 2003, reavey wrote:
> I am having fun using turtle.py thru the interpreter.
> However, the turtle draws and the display box vanishes
to keep it open keep the python programm open. Best way is to use -i
Parameter:
python -i turtle.py
---> python executes the script and go into interactive mode. sys.exit()
or ctrl-C terminates.
Michael
> with a test like:
>
> #!/usr/bin/python
> import turtle
> turtle.reset()
> turtle.forward(100)
>
> thanks
> re-v
>
>
>
>
> _______________________________________________
> Tutor maillist - Tutor@python.org
> http://mail.python.org/mailman/listinfo/tutor
>