On Tue, Apr 7, 2009 at 10:26 AM, Pirritano, Matthew <mpirrit...@ochca.com>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  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to