[Tutor] how to make python program as executable
michael.langford at rowdylabs.com
Wed Jan 30 15:32:57 CET 2008
On the command line type "which python"
Then at the top of your script put:
or whatever path the which command outputted.
Then run chmod on the program:
chmod ugo+x script.py
then the following will work:
If you actually want to build an executable that doesn't depend on the
presence of python, then this tutorial will help you:
On Jan 30, 2008 9:11 AM, brindly sujith <brindly at gmail.com> wrote:
> i am using linux...
> plz tell me how to do it
More information about the Tutor