I'm an idiot
mgerrans at mindspring.com
Sat Jun 29 01:07:12 EDT 2002
With such a small file, I don't know why no one mentioned this:
outfile = open( r'c:\path\output.txt', 'w' )
for line in open( r'c:\path\input.txt' ).readlines():
outfile.write( line.strip() + '\n' )
(or was I not paying attention?)
"David Griswold" <david_griswold1 at yahoo.com> wrote in message
news:Xns923BD424CF53Cdavidgriswold1netsca at 126.96.36.199...
> Thank you, everyone, that took the time to help a newbie.
More information about the Python-list