py2exe question from a total beginner

BW Glitch bwglitch at hotpop.com
Thu Dec 4 08:43:42 EST 2003


sarmin wrote:

> Hi Gurus...
> 
> I am using pythonwin to write the programming code and boa 
> constructor to build the GUI... the GUI and the python code work 
> fine when run through pythonwin platform...
> 
> i m now trying to create an executable python code that can be used 
> on computers that do not have python software installed... py2exe is 
> the definitely the one i m looking for... however i m simply not 
> sure how to use this software (py2exe)... moreover i havent got a 
> clue about using the python distutils function... 
> 
> for simplicity, i dont understand the followings:
> run:
> 
> python setup.py py2exe --help
> 
> setup.py is the distutils setup-scripts...
> 
> how do i run this command?? is it through the pythonwin interactive 
> mode?? by the way, i m a total beginner in using python (i m a 
> python baby, less than 1 month old)... 
> 
> any helps are very much appreciated...

Here it explains how to write the setup.py
http://starship.python.net/crew/theller/py2exe/

Once you got the setup.py, run it in the command prompt:
python setup.py py2exe

That should work.

-- 
Glitch

-----BEGIN TF FAN CODE BLOCK-----
G+++ G1 G2+ BW++++ MW++ BM+ Rid+ Arm-- FR+ FW-
#3 D+ ADA N++ W OQP MUSH- BC- CN++ OM P75
-----END TF FAN CODE BLOCK-----

"... Have some faith in me!"
"As much as you'd like to think so, Cheetor, this isn't about you."
         -- Cheetor and Optimus Primal, "Equal Measures"





More information about the Python-list mailing list