On Mon, 28 Feb 2005 16:17:03 +0200, "Ryan White"
<[EMAIL PROTECTED]> wrote:

> How do I display an image in Python? - I've run over Tkinter, but obviously
> in all the wrong places.

Someone else suggested PIL.

But in Tkinter you create a PhotoImage object then insert it into
either a Canvas or a Text widget.

> Any help or sample code would be much appreciated.

If you find the file hmgui.zip on Useless Python you will find
the code for my games framework with an example Hangman game in
Tkinter. It includes the display of a set of images(the hanged
man)

HTH,

Alan G.
Author of the Learn to Program website
http://www.freenetpages.co.uk/hp/alan.gauld
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to