Re: parralel downloads

2008-03-08 Thread poof65
For your problem you have to use threads. You can have more information here. http://artfulcode.nfshost.com/files/multi-threading-in-python.html On Sat, Mar 8, 2008 at 1:11 PM, John Deas <[EMAIL PROTECTED]> wrote: > Hi, > > I would like to write a python script that will download a list of > f

Re: Question about lambda and variable bindings

2008-03-01 Thread poof65
An idea, i don't know if it will work in your case. for x in xrange(10): funcs.append(lambda p,z=x: testfunc(z+2,p)) On Sun, Mar 2, 2008 at 3:50 AM, Michael Torrie <[EMAIL PROTECTED]> wrote: > I need to use a lambda expression to bind some extra contextual data > (should be constant after it's