creating .exe file

Peter Hansen peter at engcorp.com
Wed May 26 13:01:43 EDT 2004


Peter Maas wrote:

> Q X wrote:
>> I am wondering what kind of tools are available to wrap python scripts
>> into just 1 .exe file (with no other files) in windows.  I also want
>> the .exe file to be able to use command line arguments ie.
>> pythonprogram.exe -classpath d:/temp -file c:/hi.text
> 
> http://sourceforge.net/projects/py2exe

He explicitly asked for "just one .exe file (with no other files)",
but py2exe cannot do that.

Unfortunately, unless the commonly available automatic
decompressor programs can pass command line options on to the
program they invoke, it's probably not possible...

-Peter



More information about the Python-list mailing list