I am testing the Flaskr tutorial (http://flask.pocoo.org/docs/), and after trying to start flaskr.py using the terminal, I got the following error:
if __name__ == '__main__':
^
SyntaxError: invalid syntax
I have absolutely no idea why I got this error. Can someone help me?
user507220
source
share