I am not sure if I searched for the wrong terms, but I could not find much on this subject. I am on osx and I'd like to compile a commandline python script into a small commandline app, that I can put into usr/local/bin so I can call it from anywhere. Is there a straighforward way to do that?
Thanks
#!/path/to/python( or#!/usr/bin/env python) at the start of you're script, then make it an executable using chmod (chmod +x path/to/script) you should then be able to call itmy_scriptinstead of eg../my_script.py?