I would like to run my python script as an executable from the command line, usually when I do a bash script I added this to the top of the file:
#!/bin/bash
Then I made the script executable with:
chmod u+x myScript.sh
Is there a way to do this in python scripting? I tried something similar like:
#!/bin/python
However, this did not work.