[python-win32] [Fwd: Re: Running the COM MakePy Utility from python]

Tim Roberts timr at probo.com
Thu Aug 27 21:12:13 CEST 2009


Grant Paton-Simpson wrote:
>
> I managed to make a file containing everything I needed.  NB the command
> is makepy.py not makepy.

Let me give you a little hint.  Go into your environment variables, edit
the PATHEXT variable, and add .py and .pyw to the extensions so it looks
something like this:

    PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.py;.pyw

Now you can type "makepy", and the shell will find and execute
"makepy.py".  It is a very handy little tweak.

-- 
Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.



More information about the python-win32 mailing list