key, val in urls.items():
urllib.urlretrieve(val,Dir+key)
print key+" was downloaded to "+Dir
How can i download files in parallel streams?
Thanks in advance.
--
Dima Kulik
___
Tutor maillist - Tutor@python.org
To unsubscribe or
more why you are trying to do this, by the way?
Without context, this request seems strange, as we often want to make
our programs do as little work as necessary to get the job done. A
computer is not often called to be a space heater.
--
Dima Kulik
Hi to all.
Can you help me plz.
I want to make a for loop with a huge numbers.
for example:
for i in range (0,90):
make_some_code
but range and xrange cant operate with such big numbers.
Can some on help me?
Thanks.
--
Dima Kulik
Hi to all. I have a problem with parsing file.
I have txt file exported from AD and it has such structure:
DistinguishedName : CN=*** ,OU=*** ,OU=*** ,DC=*** ,DC=***,DC=***
GroupCategory : Distribution
GroupScope : Universal
Name :
ObjectClass : group