[Tutor] How to parse InputFile to generate OutputFile?

2008-09-17 Thread Kamisetty, Rajendra
Hi, I am new to Python and need your help to generate an output file as explained below. I need to generate an output text file based on the input text file data . Input.txt contents: ('844 - Open File Message', '011 - System Trace Audit Number: 823301', '012 - Local Time: 033543', '013 - Loc

[Tutor] How to parse InputFile to generate OutputFile?

2008-09-17 Thread Kamisetty, Rajendra
Hi, I am new to Python and need your help to generate an output file as explained below. I need to generate an output text file based on the input text file data which has fixed length format of 142 bytes each line. Input.txt contents: ('844 - Open File Message', '011 - System Trace Audit Number: