newbie ``print`` question

Dave Angel d at davea.name
Sun Sep 2 15:41:58 EDT 2012


On 09/02/2012 03:34 PM, gwhite wrote:
> <snip>
>
> btw, I also thought the default "add a CR LF" to the end was odd too.
> But at least that one had a simple way out.

But it (print on Python 2.x) doesn't, unless you're stuck on Windows. 
And even then, you can prevent it by using a 'b' in the mode.

-- 

DaveA




More information about the Python-list mailing list