CC Prac-7,8
CC Prac-7,8
PRACTICAL-7
Aim:- Working and Installation of Google app engine.
What is Google app engine?
Google App Engine is a platform-as-a-service (PaaS) offering from Google Cloud that
allows developers to build, deploy, and scale web applications and services. It provides a
fully managed environment, meaning that Google handles much of the infrastructure
management, such as server provisioning, load balancing, and scaling, allowing developers
to focus on writing code.
35
PCD/CE/2025
CC(4360709) 229930307070
36
PCD/CE/2025
CC(4360709) 229930307070
• Step 5:- Select the features you wanted to be installed and click ‘Next’.
37
PCD/CE/2025
CC(4360709) 229930307070
• Step 7:- Click on accept the terms and ‘Next’ to move further in installation.
38
PCD/CE/2025
CC(4360709) 229930307070
• Step 8:- Select the folder where you want to store app folder and click ‘Next’.
39
PCD/CE/2025
CC(4360709) 229930307070
40
PCD/CE/2025
CC(4360709) 229930307070
PRACTICAL-8
Aim:- Develop a Hello World program web application and deploy it on the
Google app engine.
• Step 1:- Open the Google app engine launcher.
41
PCD/CE/2025
CC(4360709) 229930307070
• Step 3:- Now set the python path and sdk path and then click ‘OK’.
• Step 5:- Again open the google app engine and click on ‘File’ and select ‘Create New
Application’.
42
PCD/CE/2025
CC(4360709) 229930307070
• Step 6:- Select the app name and directory for the app(here app name is hello and
directory is C:\Users\Nupur\Desktop\practical) and then click ‘Create’.
• Step 7:- These are the files which are created by default.
Main.py:-
import webapp2
class MainHandler(webapp2.RequestHandler):
def get(self):
self.response.write('Hello World!')
app = webapp2.WSGIApplication([
('/', MainHandler)
], debug=True)
43
PCD/CE/2025
CC(4360709) 229930307070
• Step 8:- Now open the app engine and select the application and click ‘Run’.
Output:-
44
PCD/CE/2025