Re: loading binary image data into memory

2005-04-12 Thread rixdelei
tx vm guys, helped a lot "rixdelei" <[EMAIL PROTECTED]> escribió en el mensaje news:[EMAIL PROTECTED] > > Hi there! > Tried successfully downloading data into memory from internet using the > urllib module like this: > ... > import urllib > import cStrin

help: loading binary image data into memory

2005-04-11 Thread rixdelei
Hi there! Tried successfully downloading data into memory from internet using the urllib module like this: ... import urllib import cStringIO url_file = urllib.urlopen(url) img = cStringIO.StringIO(url_file.read()) ... Was wondering HOW could I accomplish the same results using the ftplib modul