Hello,
I have some very large(several Mb) text files I am trying to process and parse using a Python script (novice python user). I am using the eclipse IDE and version 3 of python if that makes a difference.
I am trying to also make use of the csv module in python.
the .txt file has the following format for data:
I would like to extract the information into the following CSV format:
any help or pseudo code would be greatly appreciated.
I have some very large(several Mb) text files I am trying to process and parse using a Python script (novice python user). I am using the eclipse IDE and version 3 of python if that makes a difference.
I am trying to also make use of the csv module in python.
the .txt file has the following format for data:
Code:
09:04:11 <break>0M!00021<CR><LF> 0<CR><LF> 0D0!0+32044+31681<CR><LF> 09:04:16 <break>0M!00021<CR><LF> 0<CR><LF> 0D0!0+32051+31685<CR><LF> 09:04:21 <break>0M!00021<CR><LF> 0<CR><LF> 0D0!0+32049+31679<CR><LF>
Code:
09:04:11,32044,31681 09:04:16,32051,31685 09:04:21,32049,31679
Comment