Python Hello World Web Application Within 8 Minute

Published: 14 March 2024
on channel: Lalatendu Swain
23
0

To Check the current app version ?
pip --version
python3 --version



We need to install below application
sudo apt install python3-pip python3-venv -y
pip install Flask


nano app.py

from flask import Flask

app = Flask(__name__)

@app.route('/')
def hello_world():
return 'Hello, Lalatendu!'

if _name_ == '__main__':
app.run(debug=True)


export FLASK_APP=app.py
flask run




For Uninstall
sudo apt remove python3-pip python3-venv
pip uninstall Flask


Watch video Python Hello World Web Application Within 8 Minute online without registration, duration hours minute second in high quality. This video was added by user Lalatendu Swain 14 March 2024, don't forget to share it with your friends and acquaintances, it has been viewed on our site 23 once and liked it 0 people.