Just pass the script name to the
python interpreter:
python myscript.py
You can also tell the shell what to do with the script by adding this as first line on top of the script file:
#!/usr/bin/env python
Then make the script executable:
chmod +x myscript.py
Now you can type the script name in the terminal like any other command:
./myscript.py