simple graphics
John J. Lee
jjl at pobox.com
Tue Oct 7 13:50:15 EDT 2003
"db" <donald.braman at yale.edu> writes:
> I've mostly used python for database programming & file scripting. As such I
> haven't had much need for graphics. Now I need to create a simple grid of
> colored squares and change the colors in response to simple scripts I've
> written. I'm wondering what your experiences have been with graphics in
> Python & if there are any learning resources you know of that I can access
> on the web or in a book.
Vector or bitmap?
Bitmap: PIL.
Vector: Reportlab, PIDDLE, Sketch.
(Of course, the categories overlap a bit...)
If this is for the web, you might just use some HTML tables instead --
no need for bitmaps. Should be quite easy to do with HTML and a bit
of JavaScript, actually.
John
More information about the Python-list
mailing list