Hello, so I just installed python and I wanted to test the program and stuff. so I made a simple test file, hello.py which has its own folder on my desktop "print("Hello")". My Python was installed automatically (didn't know how to change directory during installation) here : C:\Users\username\AppData\Local\Programs\Python\Python36-32
and i ticked the box which said to add to PATH. running the interpreter is fine. everything seems good to go.
I gather that to run the file in the command line I should just : hello.py or something which I did. I tried C:\Users\username > hello.py
C:\Users\username > python hello.py
C:\Users\username > python
then the python interpreter then hello.py
obviously its not working, as in error of no file name or something along those lines, because of the file directory bit. so where should i place the .py file? or is there something completely wrong with the setup altogether? Thanks in advance!
and i ticked the box which said to add to PATH. running the interpreter is fine. everything seems good to go.
I gather that to run the file in the command line I should just : hello.py or something which I did. I tried C:\Users\username > hello.py
C:\Users\username > python hello.py
C:\Users\username > python
then the python interpreter then hello.py
obviously its not working, as in error of no file name or something along those lines, because of the file directory bit. so where should i place the .py file? or is there something completely wrong with the setup altogether? Thanks in advance!