Compiler

Fredrik Lundh fredrik at pythonware.com
Wed Feb 16 01:54:02 EST 2005


"Roch ...." <dr_rave at hotmail.com> wrote:

> I am begenning to study python programing language and I was
> wondering how do I make an executable code with the interpreter
> ...like if i have my code in a text file.

if you have your code in a text file and you want to run it, just run the
"python" interpreter with the name of the text file as the first argument.

or, on windows, make sure that filename ends with ".py", and run the
file itself.

if you want to make an EXE file, see:

    http://effbot.org/zone/python-compile.htm

</F> 






More information about the Python-list mailing list