Tkinter without the window

Les Smithson lsmithso at NOhare.SPAM.demon.co.uk
Wed Nov 21 17:33:04 EST 2001


I have a working Tkinter application that uses a canvas to draw
graphics in an X window. Is it possible for Tkinter to draw the same
graphics straight to a PNG/JPG/whatever file without going through a
windowing system?

I have in mind using this application for an External script in a Zope
server. This would be called to generate a img tag on the fly. I want
to do this in the server, rather then in the browser. Any ideas how I
can generate PNG/JPG directly from Python, other than Tkinter?





More information about the Python-list mailing list