Re: strange problems with urllib2

2005-10-27 Thread jdonnell
I haven't checked them, but will do it now. However, I don't have problems with anything but python. I can download that image in less than a second with wget or in my browser. I know that I had ipv6 problems before. I had to turn it off because of my nat router so I'll look into that sort of thing

Re: strange problems with urllib2

2005-10-27 Thread Cousin Stanley
> When I run this code on windows it runs quickly > (about a second per image) but when I run it on linux > it runs very very slowly (10+ seconds per image). > jdonnell I'm running a 1999 vintage 250 MHz Compaq with Debian Gnu/Linux & Python 2.3.5 The following version

Re: strange problems with urllib2

2005-10-26 Thread Tim Roberts
"jdonnell" <[EMAIL PROTECTED]> wrote: > >When I run this code on windows it runs quickly (about a second per >image) but when I run it on linux it runs very very slowly (10+ seconds >per image). Is this a bug or am I missing something? On windows I tried >2.4.2 and 2.4.1 on linux i'm running 2.4.1

strange problems with urllib2

2005-10-26 Thread jdonnell
When I run this code on windows it runs quickly (about a second per image) but when I run it on linux it runs very very slowly (10+ seconds per image). Is this a bug or am I missing something? On windows I tried 2.4.2 and 2.4.1 on linux i'm running 2.4.1 print 'starting' f = urllib2.urlopen('http: