Re: Split single file into multiple files based on patterns

2012-10-23 Thread satyam mukherjee
Thanks I will take a look...My actual data is 2.5Gb in size. Satyam On Tue, Oct 23, 2012 at 10:43 PM, Jason Friedman wrote: > On Tue, Oct 23, 2012 at 9:01 PM, satyam wrote: > > I have a text file like this > > > > A1980JE3937 2732 4195 12.527000 > > A1980JE3

Split single file into multiple files based on patterns

2012-10-23 Thread satyam
185 4.395000 A1980KK18700010 185 186 9.00 A1980KK18700010 25 30 3.493000 I want to split the file and get multiple files like A1980JE3937.txt and A1980KK18700010.txt, where each file will contain column2, 3 and 4. Thanks Satyam -- http://mail.python.org/mailman/listinfo/python-list