DEV Community

loading...

NameError Error

idong2archie profile image Idongesit Archibong ・1 min read

Hello. Please I am trying to write me first Flask program. Clicking the link to the server generated link, shows some error.
NameError: name 'hello' is not defined

Traceback (most recent call last)
File "/home/archibongid/.local/lib/python3.8/site-packages/flask/compat.py", line 39, in reraise
raise value
File "/home/archibongid/Desktop/Python/training/Hello.py", line 2, in
app = Flask(_hello
)
NameError: name 'hello' is not defined

Please any advice on how to understand the error message please

Discussion (0)

pic
Editor guide