Launching Python Code Using Google App Engine (GAE)
Launching Python Code Using Google App Engine (GAE)
Step 2: Download Google SDK, type google cloud SDK in search box
and click on the first link
The following page opens once you click on the first link
Scroll down in the page and click on “Google Cloud CLI Installer”
The installation of Google Cloud CLI takes 15-20 minutes.
After Installation , Google Cloud CLI/SDK will appear as an icon as
shown below:
Now , after step 1 and step 2 both python 3.7.9 and google cloud cli/sdk got
installed
Step 3-> Now create a folder named app on your desktop as shown below. This
folder will contain 2 more files : one python file with name “index.py” and
secondly, a configuration file called “app.yaml” ( this configuration file has an
extension of yaml).
Note :I will send both this files, copy them as it is and store them in app file in
your system’s desktop.
Contents of index.py file as shown below:
Contents of app.yaml file as shown below
Step 4-> Now double click on Google Cloud CLI icon , the following
window opens up (like a terminal) and in that run this command
google-cloud-sdk\bin\dev-appserver.py “path of of app folder”
Now you will see the python code getting launched using Google APP Engine