[Tutor] Remove last newline only in print / open / read function

Chris ch2009 at arcor.de
Mon Apr 28 19:28:32 CEST 2014


Dear Dave,

On 04/25/2014 12:14 PM, Dave Angel wrote:
> But what is your context? Your Python version (apparently 2.x,
>  since you're using print as a statement, rather than a function)?
>  What os, and what is stdout pointing to,  since you're pretending
>  that you can write binary data to it?

it's Python 2.7 on Debian Wheezy. The method is from
http://code.google.com/p/vinty/

Thank you for your reply!

-- 
Chris


More information about the Tutor mailing list