0

I typed:

flask run

and flask runs ok, but I cannot 'serve' form.html, why is this and how can I see form.html in a browser?

0

I just worked it out, I'm supposed to click on the link in 'running on'

0

Yes, in the root directory you've to keep you python file and html files in templates directory, if in case any supportive files such as css, js etc you've to keep'em in static directory. Then open terminal at the root directory and hit up flask run and you're good to go with the link opened at port-5000.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .