[Tutor] Image Question, List of Image Colors

Luke Paireepinart rabidpoobear at gmail.com
Thu Jan 11 23:20:09 CET 2007


Carlos wrote:
> Hello,
>
> I'm trying to do what Kent suggested, but I have a little problem, no 
> matter were I put my image or if I use sys.path.append to append the 
> folder were my Image is located it is impossible to open the image. I 
> know that this is a silly question but what is going on?
>
> I like to solve problems but this is... well. I searched the web for 
> help, but nothing.
>
> This is how I am doing it
>
> from PIL import Image
> import sys
>
> sys.path.append('D:\MASTER THESIS\Branch_01\Thesis B_01\images\tmp')
> im = Image.open("Wind_Test_01")
>   
You should include your traceback whenever you have a problem.
For example, if it said "File Wind_Test_01 not found" I would say
'You probably need to specify the file extension, like you would with 
any other program.'
but I don't know, because I can't see the error message.

-Luke


More information about the Tutor mailing list