Dec-09-2017, 02:30 AM
I have never used Mac but one way is to make the script executable. So you just cd /to_directory and run ./the_script. In order to do that the shebang line must be placed on top of the script:
#!/usr /bin/env python3
. This is for Linux and I am not sure if it will be the same for the Mac OS.