[Tutor] executionable file

Alan Gauld alan.gauld at btinternet.com
Sat Jun 23 02:16:14 CEST 2007


"Lucio Arteaga" <mi1492 at cox.net> wrote
> Can any body tell me how I can make an executive file from a 
> file.py?

Assuming you are on Windows you can use py2exe but
its non trivial to use. (Not hard, just not trivial)

But first ask why you need to.
I've been using Python for over 10 years now and never once needed
to do this. (I did it once just to see how, but I've never *needed* to
do it)

Once Python is installed you can run any script by just double
clicking in explorer.

And you can build installers that will install python if its not
already there and then add your script. There are few cases
where you really need an exe file. IMHO.

-- 
Alan Gauld
Author of the Learn to Program web site
http://www.freenetpages.co.uk/hp/alan.gauld 




More information about the Tutor mailing list