Use 2to3 in order to convert Python 2.x code into Python 3.x code.