Date: 03/23/06 11:34:33
Subject: Re: [Tutor] urlopen: where are the results?
Did you look at the url2lib documentation?
****
I thought I had, but I did not see the examples.
I did not know enough to make sense of the documentation.
So I thought that I would just try running the urlopen and see what happened.
*****
>>> import urllib2
>>> print f.read(100)
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<?xml-stylesheet href=""mailto:[EMAIL PROTECTED]">[EMAIL PROTECTED] >
*****
Alan G
Author of the learn to program web tutor
|