Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Many important functions are backported to 2.7 from 3. Others can be enabled like so: from __future__ import print_function . That will give you the format of the python 3 print function. After that you can use the new print modifiers, i.e. print(value, ..., sep=' ', end='\n', file=sys.stdout)