Excellent! Thanks Marc, Kent, and everyone. Marc your code worked. Now to see if it will run on the full 4.5 GB file! : )
Thanks matt Matthew Pirritano, Ph.D. Research Analyst IV Medical Services Initiative (MSI) Orange County Health Care Agency (714) 568-5648 ________________________________ From: [email protected] [mailto:[email protected]] On Behalf Of Marc Tompkins Sent: Tuesday, April 07, 2009 10:33 AM To: [email protected] Subject: Re: [Tutor] why is unicode converted file double spaced? On Tue, Apr 7, 2009 at 10:26 AM, Pirritano, Matthew <[email protected]> wrote: Thanks Marc, But I think that got rid of all of my carriage returns. Everything on just one line now. Sorry! My bad! Try this instead: for outLine in inp: outp.write(outLine.strip() + '\n')
_______________________________________________ Tutor maillist - [email protected] http://mail.python.org/mailman/listinfo/tutor
