Currently, when I
from __future__ import print_function
from Python 2.7.6, I apparently get a version of print() prior to the addition of the flush
keyword argument, which went in Python 3.3 according to the docs. The Python3 installed in my system (Ubuntu) is Python 3.4, and I verified its print() function has the flush
argument.
How do I import the print()
function from 3.4?
From where is __future__
getting the older print function?