Ask coding questions

← Back to all posts
How to run your file using Shelling?
A036Nikhil

I tried running a simple flask app using shell via command "export FLASK_APP= app" but it's not working

Voters
A036Nikhil
Comments
hotnewtop
ruiwenge2

just type python app/app.py

A036Nikhil

@ruiwenge2 this is what i got

ruiwenge2

hmm… maybe move the .replit file out of the app folder and change the run to python instead of python3 @A036Nikhil

ruiwenge2

Wait a minute! You didn’t even run the application! You need to add this:

at the end of the app.py file
@A036Nikhil

A036Nikhil

@ruiwenge2 Thanks Buddy! You give me hope to continue learning programming

ruiwenge2