I know how to run a python script from the python idle but I can’t figure out how to run it from the terminal.
I thought that it might work by using "run test.py"
print("Hello World")
print("This is a test")
print(1+1)
>Solution :
To run a python script, you just have to write python YOUR FILE HERE.py But before doing this, remember to set the location of command prompt to the location of your file using the command cd YOUR FILE ADDRESS