On the command line type "which python" Then at the top of your script put:
#!/usr/bin/python or whatever path the which command outputted. Then run chmod on the program: chmod ugo+x script.py then the following will work: ./script.py If you actually want to build an executable that doesn't depend on the presence of python, then this tutorial will help you: http://wiki.python.org/moin/Freeze --Michael On Jan 30, 2008 9:11 AM, brindly sujith <[EMAIL PROTECTED]> wrote: > i am using linux... > > plz tell me how to do it > > > -- Michael Langford Phone: 404-386-0495 Consulting: http://www.RowdyLabs.com _______________________________________________ Tutor maillist - [email protected] http://mail.python.org/mailman/listinfo/tutor
