No, there is no reason. I think I can import both, but I can't download
the file I want using urllib.retrieve. And urllib2 lack the retrieve
method (as much as I know at least) which very easily allow you to get
a feedback of the download (transfert rate and so on). That was my
problem.
It's OK now
Thanks very much Fuzzy,
It's help a lot. That's exactly what I was looking for.
I didn't know much about those handle stuff and what to do with.
The next hurdle for me will be to understand and manage multiple
threads, and it's good to know that one can find such helpful advices
here.( and maybe al
Monty wrote:
> Hello,
> Sorry for this maybe stupid newbie question but I didn't find any
> answer in all my readings about python:
>
> With urllib, using urlretrieve, it's possible to get the number of
> blocks transferred and the total size of the file.
>
> Is it possible to get those informatio
Is there any reason why you can't import both?
import urllib as u
import urllib2 as uu
--
http://mail.python.org/mailman/listinfo/python-list
Hello,
Sorry for this maybe stupid newbie question but I didn't find any
answer in all my readings about python:
With urllib, using urlretrieve, it's possible to get the number of
blocks transferred and the total size of the file.
Is it possible to get those informations with urllib2 ?
( I have