convert python3 code to python2 code example
Example: python2 to python3 converter
# example.py file
def greet(name):
print "Hello, {0}!".format(name)
print "What's your name?"
name = raw_input()
greet(name)
##It can be converted to Python 3.x code via 2to3 on the command line:
# 2to3 example.py