April 28th, 2004, 09:28 PM
Join Date: Apr 2004
Time spent in forums: 4 h 44 m 4 sec
Reputation Power: 0
Image class not finding image on a website
I'm trying a simple image initialization... but alas alack and stuff...
import sys, Image, urllib
image = 'http://www.footymania.com/images/banners/bannerdan.png'
im = Image.open(image)
I get the following error message
File (location of file\Image.py), Line 1543, in open
fp = __builtin__.open(fp, "rb")
IOError: [Errno 2] No such file or directory: 'http://www.footymania.com/images/banners/bannerdan.png'
This happens for all types of images online even though i know they exist. I tested it out with the google logos as well, and the same error takes place.