Is there a tool for python under Linux?
Max Ischenko
max at malva.com.ua
Fri Dec 21 02:52:22 EST 2001
уеиыЁш wrote:
> I want to know if there is a tool which can compile python's
> source code into a standalone EXE file under Red Hat Linux7.0 ,for
> example,compile my.py into my.exe under Linux.
Easily. Invoke the following script as: pycompile yourfile.py
#!/bin/sh
# Compiles python script into .exe
fname=$1
bname=${1%py}
echo -n Compiling\ ...
mv $fname ${bname}exe
echo " done"
--
$ \(-
bash: (-: command not found
More information about the Python-list
mailing list