Top "Pywin32" questions

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

Is there a way to decode numerical COM error-codes in pywin32

Here is part of a stack-trace from a recent run of an unreliable application written in Python which controls another …

python windows excel com pywin32
How to use win32gui FindWindow with Wildcard

I am trying to find if Microsoft excel has an open window import win32ui import time def WindowExists(windowname): …

python pywin32 findwindow
win32com.client.Dispatch("Outlook.Application") error pywintypes.com_error: (-2147221005, 'Invalid class string', None, None)

I am on windows 7 and I have windows live installed. Now when I am trying to run following code import …

python outlook pywin32
Use Python to Write VBA Script?

This might be a bit of a stretch, but is there a possibility that a python script can be used …

python excel pywin32 autosize vba
Send email through Python using Outlook 2016 without opening it

import win32com.client as win32 outlook = win32.Dispatch('outlook.application') mail = outlook.CreateItem(0) mail.To = 'To address' mail.Subject = …

python email outlook pywin32
How do I read a jpg or png from the windows clipboard in python and vice versa?

I have an image (jpg, png, etc.) in the windows clipboard. I'd like to save it to a file. win32…

python pywin32
PIP (Python) : ImportError: cannot import name _remove_dead_weakref

I am getting below error, I have search lot around but haven't been able to find a good fix- Please …

python pip pywin32
How to install pywin32 in virtualenv with python 2.7 64 bit?

I wonder right way to install on virtualenv with 64 bit python 2.7 pywin32 module (Operating system is Windows 7 64 bit). I've found …

python pywin32 easy-install
How to set value in text box using pywinauto?

I am new to pywinauto and I don't know how to use control identifiers. How would I set No. of …

python python-2.7 pywin32 pywinauto pywin
Using PythonService.exe to host python service while using virtualenv

I've got a Windows 7 environment where I need to develop a Python Windows Service using Python 3.4. I'm using pywin32's …

python windows virtualenv python-3.4 pywin32