Hey, there is not any easier than just give it a try. All you had to do to upgrade version from 2.2 to 2.7 is change the paths in includes. Actually you don't need to do this and you can just simply rename whole folder with a Python 3.2 to Python-2.7, but this is just in a case if you don't want to edit sources - generally, this is a bad idea.
I guess, there will be required more changes in Python code than in C++'s ones.
Change in dividing integers
Change in returning lists
print is no longer a command
Also, there is a lot of changes which could optimize your code a lot. Look in articles I attach in sources.