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
What platform? The mechanism is different for each major OS.
On Jan 30, 2008 2:25 AM, brindly sujith <[EMAIL PROTECTED]> wrote:
> hi
>
> i am developing a GUI application in python(tkinter)
>
> i want to know how to make the python program as a application ie i want to
> make it executable
>
>
* Luke Paireepinart (Wed, 30 Jan 2008 03:59:59 -0600)
> I think he meant " i want to make the application [into an]
> executable" I.E. he wants an .exe file on Windows.
> In this case, you can use py2exe, and there's another alternative I
> can't remember.
The better alternative is "Pyinstaller"..
Alan Gauld wrote:
> "brindly sujith" <[EMAIL PROTECTED]> wrote
>
>
>> i am developing a GUI application in python(tkinter)
>>
>> i want to know how to make the python program as a application ie i
>> want to
>> make it executable
>>
>
> If you are on Windows it should be executable alread
"brindly sujith" <[EMAIL PROTECTED]> wrote
> i am developing a GUI application in python(tkinter)
>
> i want to know how to make the python program as a application ie i
> want to
> make it executable
If you are on Windows it should be executable already,
just double click on the main file in W
hi
i am developing a GUI application in python(tkinter)
i want to know how to make the python program as a application ie i want to
make it executable
please guide me
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tuto