print in Python 3
print now requires print()
examples/2to3/print3.py
from __future__ import print_function fname = 'Foo' lname = 'Bar' print("Name: %s %s" % (fname, lname)) print("Name: {} {}".format(fname, lname)) print(fname, lname)
Name: Foo Bar Name: Foo Bar Foo Bar