Re: [python-win32] Creating standalone executable

2015-01-06 Thread Zachary Turner
Never used it before, so take this with a grain of salt, but try this: http://nuitka.net/pages/overview.html AFAIK it's still not considered a stable release, but it might be worth checking out. On Tue Jan 06 2015 at 9:00:02 AM John Sampson wrote: > I tried py2exe but the executable file has

Re: [python-win32] Windows 10

2015-10-26 Thread Zachary Turner via python-win32
It's not that "many programmers still refer to Windows API as Win32", it's that the Windows API itself has decided that that is what it is called. When you #define _WIN32 in a C or C++ program using the Windows API, it does not mean "this is a 32-bit app", it means "I'm using the Windows API". Tha

Re: [python-win32] Building my own C extension

2015-11-04 Thread Zachary Turner via python-win32
Two questions: 1) Are you embedding this extension in your own application or do you only need to be able to load it into a stock Python distribution? 2) Is Python 3.5 out of the question? On Wed, Nov 4, 2015 at 5:10 PM Ken Brooks wrote: > I have joined this list because I need to learn how to

Re: [python-win32] Figuring out why a window is losing focus

2016-02-07 Thread Zachary Turner via python-win32
Why do you need to use Python? Sounds like this is done very easily with Spy++ On Sun, Feb 7, 2016 at 10:12 AM Ram Rachum wrote: > Hi everybody, > > There's a problem in my Windows 7 machine that I want to diagnose using > Python. > > Once in a while, I'm noticing that focus is being stolen fro

Re: [python-win32] Figuring out why a window is losing focus

2016-02-07 Thread Zachary Turner via python-win32
every process running on the system. On Sun, Feb 7, 2016 at 1:19 PM Ram Rachum wrote: > Thanks for the reference to Spy++! I'm checking it out and it looks like a > useful program. But I don't understand, how do I use it to accomplish what > I wanted? > > On Sun, Feb 7, 201

Re: [python-win32] Figuring out why a window is losing focus

2016-02-08 Thread Zachary Turner via python-win32
It's included as part of Visual Studio. Download community edition, it should be there. On Mon, Feb 8, 2016 at 7:33 PM reckoner wrote: > > Where can I safely download this Spy program you are all talking about? > > Thanks! > > > > On 2/8/2016 9:00 AM, python-win32-requ...@python.org wrote: > >

Re: [python-win32] Python in Visual Studio

2016-04-16 Thread Zachary Turner via python-win32
The debugger is good too. I don't know of any other tool that lets you seamlessly step between Python and native code when debugging a program which embeds Python On Sat, Apr 16, 2016 at 5:23 PM Alexander Walters wrote: > As a total aside, PTVS (part of the base VS 2015 install, IIRC) is now > my

Re: [python-win32] win32com.server failure: Is debugging possible?

2016-08-27 Thread Zachary Turner via python-win32
Have you tried using PTVS and attaching to process with the Python debug engine enabled? Then you can set a breakpoint in managed code and look for calls to sys.exit On Sat, Aug 27, 2016 at 7:23 AM Bob Hood wrote: > On 8/25/2016 9:36 PM, eryk sun wrote: > > On Fri, Aug 26, 2016 at 12:42 AM, Bob