Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: