PIL(Py Image lib), show() not showing picture...

defn noob circularfunc at yahoo.se
Thu Jul 3 05:28:54 EDT 2008


from PIL import Image
import os

print os.path.exists('C:/Users/saftarn/Desktop/images/blob.jpg')

im2 = Image.open('C:/Users/saftarn/Desktop/images/blob.jpg')
im2.show()
first the command prompt pops up then the normal window to display
pictures but it doenst show a picture.

the prin os.path.exists returns true and opening the file by clicking
on it works. ive also tried gif-files with no success.



More information about the Python-list mailing list