I am on Win 7(64 bits) and I would like to play with Google App Engine. I downloaded latest version of “Google App Engine SDK for Python” from https://developers.google.com/appengine/downloads and I am going to install it.
I know I need toinstall Python 2.5 and 2.7 first.
My questions:
-
Can I install both Python versions on the same computer?
-
I want to use either Python 2.5 or 2.7 AUTOMATICALLY based on the
app.yamlconfigure line:runtime: pythonorruntime: python27
By AUTOMATICALLY, I mean I dont have to choose the Python Version everytime I run an application in Google App Engine -> Edit (Tab) -> Preferences -> Python Path
Yes, you can install multiple python versions on your computer without problems.
Python 2.7 is backwards compatible with 2.5. Code that works on 2.5 will work on 2.7 just fine. Use the Python 2.7 binary in your SDK, switch all apps to the
python27runtime and don’t look back. There is no need to switch back and forth.