Re: Working with Huge Text Files

2005-03-19 Thread Lorn Davies
Thank you all very much for your suggestions and input... they've been very helpful. I found the easiest apporach, as a beginner to this, was working with Chirag's code. Thanks Chirag, I was actually able to read and make some edit's to the code and then use it... woohooo! My changes are annotated

Working with Huge Text Files

2005-03-18 Thread Lorn Davies
Hi there, I'm a Python newbie hoping for some direction in working with text files that range from 100MB to 1G in size. Basically certain rows, sorted by the first (primary) field maybe second (date), need to be copied and written to their own file, and some string manipulations need to happen as w