How can you make a Python script executable on Unix?
Put #! / Usr / bin / env python in the first line of your .py script.
Add execute permissions to the file (using chmod).
Run the script from the command line, for example. by providing ./my_script.py in the same directory.
Is this ok ?