• + 0 comments

    From https://docs.python.org/2.7/library/functions.html?highlight=print#print"

    "Note This function is not normally available as a built-in since the name print is recognized as the print statement. To disable the statement and use the print() function, use this future statement at the top of your module:

    from __future__ import print_function
    

    "New in version 2.6"

    (Interestingly, this is now inserted in the template when you select Python 2.) Have to say that I'm a bit surprised that Python didn't offer something like sprintf.