[newbie] make executeable

Alex Martelli aleax at aleax.it
Wed Jan 16 11:00:54 EST 2002


"Daniel Röder" <Arkanis at gmx.de> wrote in message
news:a247pc$1lc$1 at narses.hrz.tu-chemnitz.de...
> how can I make an executeable file with Linux out of *.py

Literally, chmod +x will suffice.  Make sure the first line is:
!#/usr/bin/env python
or other suitable shebang.


But, I suppose you mean a *stand-alone* executable.  Then:

http://www.mcmillan-inc.com/install1.html

but it's not really a truly newbie-suitable task (IMHO).  First,
develop a substantial Python application; when you're done you
won't be a newbie any more AND you will have a halfway sensible
reason to want to "make an executable file" from it:-).


Alex






More information about the Python-list mailing list