Re: parse/slice/...

2009-01-07 Thread Tim Arnold
"rcmn" wrote in message news:51451b8a-6377-45d7-a8c8-54d4cadb2...@n33g2000pri.googlegroups.com... > I'm not sure how to call it sorry for the subject description. > Here what i'm trying to accomplish. > the script i'm working on, take a submitted list (for line in file) > and generate thread fo

Re: parse/slice/...

2009-01-06 Thread Albert Hopkins
On Tue, 2009-01-06 at 11:23 -0800, rcmn wrote: > I'm not sure how to call it sorry for the subject description. >Here what i'm trying to accomplish. > the script i'm working on, take a submitted list (for line in file) > and generate thread for it. unfortunately winxp has a limit of 500 > threa

Re: parse/slice/...

2009-01-06 Thread skip
rcmn> So I have to parse/slice the file by chunk of 500 and loop until rcmn> the list is done. I though i would of done it in no time but i rcmn> can't get started for some reason. Check the itertools module. Probably itertools.islice. -- Skip Montanaro - s...@pobox.com - http://sm