Re: urllib2 performance on windows, usb connection

2009-02-07 Thread dq
MRAB wrote: dq wrote: MRAB wrote: dq wrote: dq wrote: MRAB wrote: dq wrote: Martin v. Löwis wrote: So does anyone know what the deal is with this? Why is the same code so much slower on Windows? Hope someone can tell me before a holy war erupts :-) Only the holy war can give an

Re: urllib2 performance on windows, usb connection

2009-02-06 Thread dq
MRAB wrote: dq wrote: dq wrote: MRAB wrote: dq wrote: Martin v. Löwis wrote: So does anyone know what the deal is with this? Why is the same code so much slower on Windows? Hope someone can tell me before a holy war erupts :-) Only the holy war can give an answer here. It certainly has

Re: urllib2 performance on windows, usb connection

2009-02-06 Thread dq
MRAB wrote: dq wrote: MRAB wrote: dq wrote: Martin v. Löwis wrote: So does anyone know what the deal is with this? Why is the same code so much slower on Windows? Hope someone can tell me before a holy war erupts :-) Only the holy war can give an answer here. It certainly has *nothing

Re: urllib2 performance on windows, usb connection

2009-02-06 Thread dq
dq wrote: MRAB wrote: dq wrote: > Martin v. Löwis wrote: >>> So does anyone know what the deal is with this? Why is the same code so >>> much slower on Windows? Hope someone can tell me before a holy war >>> erupts :-) >> >> Only the holy war

Re: urllib2 performance on windows, usb connection

2009-02-06 Thread dq
MRAB wrote: dq wrote: > Martin v. Löwis wrote: >>> So does anyone know what the deal is with this? Why is the same code so >>> much slower on Windows? Hope someone can tell me before a holy war >>> erupts :-) >> >> Only the holy war can give

Re: urllib2 performance on windows, usb connection

2009-02-06 Thread dq
Martin v. Löwis wrote: So does anyone know what the deal is with this? Why is the same code so much slower on Windows? Hope someone can tell me before a holy war erupts :-) Only the holy war can give an answer here. It certainly has *nothing* to do with Python; Python calls the operating syst

urllib2 performance on windows, usb connection

2009-02-05 Thread dq
I've googled this pretty extensively and can't find anyone who's had the same problem, so here it is: I wrote a console program in python to download podcasts, so speed is an issue. I have 1.6 M down. The key bit of downloading code is this: source = urllib2.urlopen( url ) target = open( fi