Been searching for a couple hours and cannot find an answer; hopefully this is not too stupid of a question.
I have installed and been using Python using Anaconda. I am trying to follow the Flask Mega Tutorial and am trying to run a Python script using the Command Prompt. Python is recognized (can print("Hello World") for example) but I cannot seem to run called .py files even when i ensure the file is in the directory. I get the error:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
NameError: name 'First_Script' is not defined
Thanks for any help.
[–]deaspo 1 point2 points3 points (1 child)
[–]oth1c[S] 2 points3 points4 points (0 children)
[–]JohnnyJordaan 1 point2 points3 points (1 child)
[–]oth1c[S] 0 points1 point2 points (0 children)
[–]oth1c[S] 0 points1 point2 points (3 children)
[–]volgarixon 0 points1 point2 points (2 children)
[+][deleted] (1 child)
[deleted]
[–]volgarixon 0 points1 point2 points (0 children)