How to make executable .py file (for non-programmer)?
Solution 1:
You can simply rename the file and make it file extension "command" instead. Plus, you have to make it executable (like you do before with chmod +x). Simply name it "jinja.command", instead of "jinja.py" for example.
Then, you will see terminal window opened with text output (if you have one in your application), as far as the "program terminated" string.
Solution 2:
You want a tool called Platypus. It provides very clear guidance on turning scripts into apps.
- http://sveinbjorn.org/platypus/
Platypus is a Mac OS X developer tool that creates native Mac OS X applications from interpreted scripts such as shell scripts or Perl, Ruby and Python programs. This is done by wrapping the script in an application bundle along with a native executable binary that runs the script.