Download Google App Engine SDK from https://developers.google.com/appengine/downloads, install it.
Follow the steps to download source code:
- Step 1. Create a new directory for storing the downloaded files. The App Engine run-time requires that the directory be empty before it can download the files to that directory.
- Step 2. Switch to the directory in cmd to where App Engine is installed on your computer or add it to system variable path.
It is usually under the following path:C:\Program Files\Google\google_appengine - Step 3. Execute the following command to download the project. Remember to replace MyAppName with the ID of your own App Engine project.
appcfg.py download_app – A MyAppName -V 1 c:\AppEngine\SourceCode
It’ll ask for your Google Account credentials and once authenticated, all the source code files will instantly download to the specified directory. Obviously, you can only download the source code of your own applications from App Engine.