I try to run this code:
from flask import Flask
app = Flask(__name__)
@app.route('/')
def index():
return 'hello world'
but you don't get the url in terminal this is what is shown:
PS C:\Users\acer\Tpython> & C:/Users/acer/AppData/Local/Programs/Python/Python38-32/python.exe c:/Users/acer/Tpython/flaskp.py
PS C:\Users\acer\Tpython>
So how do I figure out the url that flask is running on.