K
K
Kirill Terentiev2015-09-26 12:53:19
Flask
Kirill Terentiev, 2015-09-26 12:53:19

How to run an application in Flask?

Wrote my first application using this tutorial
. When run through the terminal, it gives an error:
python: can't open file 'hello.py': [Errno 2] No such file or directory
Please help me figure it out.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
akarin, 2015-09-26
@podar1mne

You are running from the wrong directory.

#Вот пример
$ cd ~
$ mkdir flask
$ cd flask
$ python hello.py

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question