How to make executable file ?

Andrew Robert arobert at
Wed Jan 5 17:03:02 CET 2005

> Just how to make *.exe file from python code ??
> I typed this :
> a, b = 0, 1
> while b < 1000:
> 	print b,
> 	a, b = b, a+b
> and saved it as pyt.txt
> Now, how do I make pyt.exe file ???
> I want to run it on windows where isn't installed python.

You may want to try cx_freeze.

Details on it can be found at

Binaries are available for Linux and Windows.

Alternately, source code is available if you need to compile it for a 
different platform.

Thank you,
Andrew Robert

E-mail: arobert at

More information about the Python-list mailing list