Top "Pywin32" questions

The PyWin32 package is a close wrapper around Microsoft Windows API.

Can't start Windows service written in Python (win32serviceutil)

I'm trying to start a simple service example: someservice.py: import win32serviceutil import win32service import win32event class …

python windows windows-services pywin32
Can't close Excel completely using win32com on Python

This is my code, and I found many answers for VBA, .NET framework and is pretty strange. When I execute …

python excel com pywin32 win32com
Can't load pywin32 library win32gui

I'm trying to use the win32gui module included with pywin32 but I can't get it working. I have downloaded …

python pywin32
Python Screenshot of inactive window PrintWindow + win32gui

After hours of googling I managed to "write" this: import win32gui from ctypes import windll hwnd = win32gui.FindWindow(…

python screenshot pywin32 win32gui
Install pywin32 with pip in Windows 7 does not work in python 3.4.2

Hy@everybody, i've try to install pywin32 via pip (1.5.6) with python 3.4.2 under Windows 7, but i've always got the follwing error-message: …

python pip pywin32
win32gui.FindWindow Not finding window

I'm trying to send a keystroke to an inactive TeraTerm Window using Pywin32. This answer led me to write this …

python windows winapi pywin32 teraterm
Python win32api SendMesage

I am trying to clarify win32api. And I just made a simple example. Get the Notepad window, move the …

python winapi pywin32 sendmessage
PyWin32 and Python 3.8.0

Python 3.8.0 has been recently released (on 20191014, and can be downloaded from [Python]: Python 3.8.0). PyWin32 has builds for it on [PyPI]: …

python windows dll pywin32 python-3.8
How to check if OS is Vista in Python?

How, in the simplest possible way, distinguish between Windows XP and Windows Vista, using Python and pywin32 or wxPython? Essentially, …

python windows windows-vista wxpython pywin32
Python: copying from clipboard using tkinter without displaying window

Running Python 3.4 on Windows 7. I need to copy what's stored in the clipboard to a variable in my python program. …

python python-3.x tkinter clipboard pywin32