Laszlo Nagy wrote:
> > Any ideas why I don't get the same result from the python script as I
> > do from a web browser? This problem seems to be a recent
> > development. The scripts I wrote like this worked fine for a while
> > and then stopped working within the past couple of weeks.
> >
> May
[EMAIL PROTECTED] wrote:
> import urllib
> f = urllib.urlopen('http://en.wikipedia.org/wiki/Cain')
> data = f.read(999)
> f.close()
> f1 = open('junk.txt', 'w')
> f1.write(data)
> f1.close()
Did you see the file "junk.txt"? It's an error page from Wikipedia, not
the actual content page...
Re
En Thu, 12 Apr 2007 15:25:03 -0300, <[EMAIL PROTECTED]> escribió:
> Any ideas why I don't get the same result from the python script as I
> do from a web browser? This problem seems to be a recent
> development. The scripts I wrote like this worked fine for a while
> and then stopped working wit
> Any ideas why I don't get the same result from the python script as I
> do from a web browser? This problem seems to be a recent
> development. The scripts I wrote like this worked fine for a while
> and then stopped working within the past couple of weeks.
>
Maybe it has to do something wi