Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

There's also a "turtle" module that came included in my Py3k distribution. Not sure about 2.x versions.

Giving commands like "turtle.forward(10)" opens an asynchronous tk window showing the "turtle" (an arrow, really) and a line where it has passed. The window remains open, the focus goes back to the python interpreter, and you are free to type new commands.



Yeah, it's in 2.x too.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: