I have this simple python program:
def GetNum (Text):
x = input("Input something: ")
while (x > 0):
x = input("Input something: ")
print x
And I want to run that through terminal, but when I do the command:
python ./test.py
or if I run
python test.py
Nothing happens. The terminal just goes back to normal, as if no command was ever executed.
The file is located under Documents/Python and I am in that directory when I am running the command. Am I missing something here as to why this is not working?