Premium .Avenue™ 776 Posted May 13, 2018 Premium Share Posted May 13, 2018 Do I have to change something in the source code if I want to renew Python to Python 3.2(.6) ? I'm currently on 2.7 Link to comment Share on other sites More sharing options...
Bot Metin2 Dev 4858 Posted May 13, 2018 Bot Share Posted May 13, 2018 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. For example: 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. Sources: http://sebastianraschka.com/Articles/2014_python_2_3_key_diff.html https://en.m.wikipedia.org/wiki/Python_(programming_language) https://docs.python.org/3.0/whatsnew/3.0.html 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now