[python-win32] Context menu handler as executable

Tim Roberts timr at probo.com
Tue Aug 9 09:00:55 EDT 2016


On Aug 9, 2016, at 2:21 AM, Gertjan Klein <gklein at xs4all.nl> wrote:
> 
> Thanks! That helps. As far as I can tell, py2exe is the only executable 
> builder that can create a COM server DLL, so I'm trying to find out how 
> to request it to do so. There is an example here:
> 
> http://www.py2exe.org/index.cgi/Py2exeAndWin32com
> 
> However, this talks about modules and packages; I have one single file. 
> Could you (or anyone) steer me in the right direction?

Well, your source code might only be one file, but you're using many modules from the standard library (win32com and os, if nothing else).  Those, and the modules they all need, all have to be included.

Have you actually tried the examples on the pages you quoted?
— 
Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.



More information about the python-win32 mailing list