[Tutor] displaying images

Diana Hawksworth dianahawks at optusnet.com.au
Tue Apr 19 02:13:13 CEST 2005


Thanks for that Alan.  Have it working - or at least showing images on a
canvas!  Now just need to figure out how to get that image  on an
established Frame!

Cheers. Diana

----- Original Message ----- 
From: "Alan Gauld" <alan.gauld at freenet.co.uk>
To: "Diana Hawksworth" <dianahawks at optusnet.com.au>; <tutor at python.org>
Sent: Monday, April 18, 2005 6:27 PM
Subject: Re: [Tutor] displaying images


>
> > I am working through "Programming Python" by Mark Lutz.
>
> Thats a prettty advanced book for a tutor list reader...
> but its a good un too.
>
> > ...I am not certain what the "../gifs/" means,
>
> Its just a path to a directory.
>
> ../
> means the directory/folder above the current one.
>
> gifs/
> means the folder called 'gifs'
>
> So if yu had a folder called 'home' with two subfolders
> called 'scripts' and 'gifs' and you were running your
> program in the scripts folder, then '../gifs/' would
> be a reference to the  'home/gifs' folder.
>
> > using my own files, but cannot figure out where to
> > store the files I am using.
>
> The image gifs need to be in a folder called 'gifs'
> located on the same level as the folder where your
> script is running.
>
> > I have even tried using the full path name for
> > my files without success.
>
> But that should have worked too... Unless this is a
> web application in which case the "full path" should
> start at your home page folder.
>
> HTH
>
> Alan G




More information about the Tutor mailing list