Re: [Tutor] Parsing text file with Python

2007-03-23 Thread Alan Gauld
"Jay Mutter III" <[EMAIL PROTECTED]> wrote > 1.) Are there better ways to write this? There are always other ways, as to which is better depends on your judgement criteria. Your way works. > 2.) As it writes out the one group to the new file for companies it > is as if it leaves blank lines behi

[Tutor] Parsing text file with Python

2007-03-23 Thread Jay Mutter III
Script i have to date is below and Thanks to your help i can see some daylight but I still have a few questions 1.) Are there better ways to write this? 2.) As it writes out the one group to the new file for companies it is as if it leaves blank lines behind for if I don't have the elif len