[Tutor] [Q] Newbie's question on Python graphics
Tue, 21 Aug 2001 21:23:21 +0200
At 18:50 +0200 8/21/01, dman wrote:
>On Tue, Aug 21, 2001 at 11:07:41AM -0700, Young-Jin Lee wrote:
>| Hi, all. I'm new to Python and I have a question on the Python
>It depends on what you mean by "graphics".
>| Most of the document I read doesn't tell much about graphics
>| programming. I need a kind of 2D drawing functionality, drawing a
>| line, circle, and oval, translate them, and rotate them. Is there a
>| good tutorial or whatever for this topic?
>This sounds like you are talking about GUI toolkit functionality,
>rather than graphic (ie JPEG) manipulation. Most python docs won't
>talk much about GUIs because there are many different toolkits that
>can be used from Python.
>| I also need to know if a Java application can call these drawing
>| method through the imbedded Python (Jython module). I heard if the
>| drawing routine or any Python routine is dependent on any C API, a
>| Java application cannot use it through the imbedded Python.
>If you are using Jython then you can only use stuff that is pure
>python or accessible from Java. Most of python's extensions (and most
>GUI toolkits too) depend on some C stuff and aren't naturally
>accessible from Java. The most natural GUI toolkit to use from
>Java/Jython is Swing. See
>for more details on swing.
A few days ago there was here a pointer to wxpython
check out http://www.wxpython.org/wxpshots.php
Groet Geert Stappers
Hit the right key to continue