[Tutor] mutiply file download

2015-12-25 Thread Dima Kulik
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

Re: [Tutor] for loop for long numbers

2015-08-04 Thread Dima Kulik
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

[Tutor] for loop for long numbers

2015-08-03 Thread 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

[Tutor] Parsing txt file

2014-08-20 Thread 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