[Tutor] window graphics

Gregor Lingl gregor.lingl at aon.at
Thu Jul 2 13:25:16 CEST 2009


Hi David,

Python 3 (preferably 3.1)  has a very easy to use graphics module in the 
standard library:
the turtle module. It has a lot of capabilities, but alas, its working 
with geometrical
objects and   doesn't allow to adress single pixels  .

Get started by writing:

 >>> from turtle import *
 >>> forward(100)

You can find the docs in Python Docs'  global module index

You can find example scripts in the Demo directory of the source code 
distribution
or here:

http://svn.python.org/view/python/branches/py3k/Demo/turtle/

If you want to give it a try and need more information, please feel free 
to ask

Regards,
Gregor

David H. Burns schrieb:
> I am new to Python and I'm looking for help on graphics in Python3.0. 
> All the graphics libraries I've seen are far to complex (and don't 
> seem compatible with 3. What I really need to know is two things (1) 
> how to set up a graphic window and (2)how to plot a pixel. Basically 
> that's all a "graphics package" needs. Is this the right group?
>
> Any help appreciated,
>
> David
>
> _______________________________________________
> Tutor maillist  -  Tutor at python.org
> http://mail.python.org/mailman/listinfo/tutor
>
>



More information about the Tutor mailing list