News for hackers. Stuff that matters.
Re:Lesser known parts of Python standard library – Trickster... by fuzztester on Sunday September 15, 2024 @03:53PM (#41549844)
There is also:

  from __future__ import print_function 
following which you can print output using the Python 3 print() function instead of the Python 2 print statement.

Also see:

https://stackoverflow.com/questions/7075082/what-is-future-i...

Note that all this is for Python 2.

There are no comments on this comment yet.