Hey.
I'm trying to do something I think is basic and am failing.
The goal is:
[mimicking the google urlopen syntax]
try:
from google.appengine.api.urlfetch import fetch
except:
from urllib import urlopen as fetch
How do I add this "fetch" the property of content?
I basically want fetch(url.com).content to replace urlopen(url.com).read()
Mind, content is not a method.
Thoughts?
Thx. Omer.
_______________________________________________
Tutor maillist - [email protected]
http://mail.python.org/mailman/listinfo/tutor