Oh no, my code is being published ... help!

Peter Decker pydecker at gmail.com
Fri Nov 30 08:18:21 EST 2007


On Nov 30, 2007 1:19 AM, Tim Roberts <timr at probo.com> wrote:

> You also have a couple of instances of:
>     print("Error Squeezing %s...")
>
> The parentheses serve no purpose here, and are unidiomatic.

I thought that with the eventual dropping of 'print' as a statement in
Python 3, that writing it this way (as if it were a print function) is
preferred, since that will be one fewer thing to convert.

-- 

# p.d.



More information about the Python-list mailing list