What are the benefits of print()?
sep is the separator between arguments, so you can do something like:
>> print('a','b','c',sep='')
abc
end is the value at the end of the line (useful, for example, if you want to print without a newline at the end).file lets you specify a file to print to, so for example you can do file=sys.stderr to print to stderr instead of stdout.
print "comma prevents a newline from being printed",
print >> sys.stderr, "Any file object can be used"
The change to a function is purely for consistency, not functionality.
from __future__ import print_function
map(print, [1,2,3])
def test(*a, **b):
print(*a, **b)
test(12)
with open('t.out', 'w') as f:
test(12,13, sep='--', file=f)