[python-win32] Context menu handler as executable

Tim Roberts timr at probo.com
Tue Jul 26 12:48:47 EDT 2016


Gertjan Klein wrote:
> I am working on a Windows Explorer context menu handler; Windows 10, 
> Python 3.4 (both 64 bit), pywin32 version 219 installed (no virtual 
> environment).
>
> The handler is working fine when running it as a Python source file. 
> However, I would like to create an executable containing all the 
> dependencies, so it can be run on PCs that don't have Python installed. 
> I can't get this to work. I have tried using py2exe and pyinstaller, 
> with various setup.py and spec file examples, and nothing seems to work.

Are you testing this on a 64-bit system?  Remember that your 64-bit
process will only work on 64-bit systems.

What actually happens when you try to run it?

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



More information about the python-win32 mailing list