Improve usage of Python 3
Marcos
bugshideout at gmail.com
Tue Jul 14 12:28:57 EDT 2015
Hi!
Just like many, I want the projects in which I work on to move to Python 3.
And incredibly, there are a few users on the same project who refuse to
use python 3 simply because of the print statement.
That has probably already been discussed, but since I actually couldn't
find anything relevant about, I decided to ask here anyway.
What are the changes of something like
from __past__ import print_statement
or to make both
print
and
print()
work on Python 3 ?
Sorry for the dumb question, but although it's not a very pure solution,
it might be one that would be very well accepted.
Some reference:
http://stackoverflow.com/questions/20250130/from-past-import-print-statement
https://news.ycombinator.com/item?id=6990481
https://news.ycombinator.com/item?id=6987309
https://news.ycombinator.com/item?id=6985792
http://code.activestate.com/lists/python-dev/101111/
http://code.activestate.com/lists/python-dev/101115/
Thanks
Marcos
More information about the Python-list
mailing list