I am new to Python and I need to do the following:
I receive resume emails (30+ daily) from a web form as formatted text and I save each daily group of messages from Outlook to a text file.
I need to run down the long text file and pull out specific lines to a temp text file, run a function against the file and write out formatted resume test files for our filing system.
Each of the lines follow this format:
Address: MiniFieldStorage('Address', '123 West St')
Answer1: MiniFieldStorage('Answer1', 'Yes')
Any line not following this format must be ignored and each finished group must be written out to a unique filename "ex. res####.txt".
I have the formatting function that will take as input the temp file and write out to the final file. I just need a simple script to read the big file and cut it up for me.
All help is always appreciated
jab_hawk@yahoo.com
Python 2.3
Windows 2000
Jonthan A Black
I receive resume emails (30+ daily) from a web form as formatted text and I save each daily group of messages from Outlook to a text file.
I need to run down the long text file and pull out specific lines to a temp text file, run a function against the file and write out formatted resume test files for our filing system.
Each of the lines follow this format:
Address: MiniFieldStorage('Address', '123 West St')
Answer1: MiniFieldStorage('Answer1', 'Yes')
Any line not following this format must be ignored and each finished group must be written out to a unique filename "ex. res####.txt".
I have the formatting function that will take as input the temp file and write out to the final file. I just need a simple script to read the big file and cut it up for me.
All help is always appreciated
jab_hawk@yahoo.com
Python 2.3
Windows 2000
Jonthan A Black