Use Jython to make true executable?
Tomasz Stochmal
tom at peresys.co.za
Sun Jun 10 08:39:56 EDT 2001
carlf at panix.com (Carl Fink) wrote in message news:<slrn9i28es.aq7.carlf at panix2.panix.com>...
> I'm a Python beginner, so forgive me if this question is stupid.
>
> A common request on this group is a true compiler to convert a Python
> script to a directly-executable program. (ELF for Linux, .exe for
> Windows/DOS, etc.) There apparently used to be a python2c project
> which was abandoned.
>
> Couldn't you develop your program in Jython, "compile" it to Java
> bytecodes, then run them through GCC? I haven't tried it, but I've
> read that GCC can convert Java to direct executables.
>
> Now, I also am far from a Java expert. For instance, would Swing be
> convertible using GCC given that it's not free software?
>
> So, is this idea so obvious that it has to have a flaw?
for Windows just use py2exe http://starship.python.net/crew/theller/py2exe/
More information about the Python-list
mailing list