You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I got to this far where i need to create a new file called app.py
i did this by
mkdir app.py
now im at this step which i don't get.
I run command and it gives me
if>
from flask import Flask
app = Flask(name)
@app.route('/')
def index():
return 'Hello, Flask!'
if name == 'main':
app.run(debug=True)
i don't know how i can open flask and run http://localhost:5000
Beta Was this translation helpful? Give feedback.
All reactions