INSTALL GOOGLE APP ENGINE.
CREATE HELLO WORLD APP AND OTHER
SIMPLE WEB APPLICATIONS USING PYTHON/JAVA.
Step 1: Check Python Installation
1. Open Command Prompt (CMD)
2. Type: py –version
It should show Python version
Step 2: Create Project Folder
1. Go to Desktop
2. Create a folder named:
my-flask-app
Step 3: Open CMD in That Folder
Type this in CMD: cd C:\Users\clemm\OneDrive\Desktop\my-flask-app (copy and
paste your floder location)
Check folder using : dir
Step 4: Create [Link] File
In CMD type: notepad [Link]
Type this code:
from flask import Flask
app = Flask(__name__)
@[Link]("/")
def hello():
return "Hello, World!"
if __name__ == "__main__":
[Link](host="[Link]", port=8080, debug=True)
Save and close Notepad.
Step 5: Create [Link] File
In CMD type: notepad [Link]
Write this: Flask
Save and close Notepad.
Step 6: Install Flask Library
In CMD type: py -m pip install Flask
Flask will be installed successfully.
Step 7: Run Flask Application
In CMD type: py [Link]
Output will show like:
Running on [Link]
Step 8: View Output in Browser
1. Open Chrome
2. Type this URL:
[Link]
Output will display:
Hello, World!