Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [pywin32]

The PyWin32 package is a close wrapper around Microsoft Windows API. It was created and is still maintained by Mark Hammond.

-1 votes
1 answer
35 views

Creating/Updating an excel file with slicers from python

I have some python code which creates a few pandas data frames which I need to put into a spreadsheet, with different data on multiple sheets and with slicers for easy filtering. This then gets sent ...
Emi OB's user avatar
  • 3,144
0 votes
0 answers
11 views

Why doesn't pywinauto click on open on this filedialog?

Context: I am creating a simple program which clicks 'browse' on a web browser which opens a Filedialog, enters a file I know exists and clicks open. Problem: Currently the Program opens the ...
P A's user avatar
  • 1
0 votes
1 answer
32 views

Pywin32 Windows Service Script Not Connecting with Main Function and Service Unable To Finish Starting?

I'm working on a python app that, among other things, works to block common RCA applications. Because I want it to be able to run on start up and in the background, I figured the best way was to make ...
alilprogrammerappears's user avatar
1 vote
1 answer
48 views

Win32 API makes only my last click-through label appears (overlay created in tkinter)

I am writing a tkinter overlay which is my main class. This class can display images at specific coordinate using tkinter label, however the images should be click-through. Therefore, I extended the ...
Kuru's user avatar
  • 21
-1 votes
0 answers
20 views

Handling pywintypes.com_error in Python

I'm trying to catch the pywintypes.com_error but the yellow underline is showing. and also i have checked the dependencies. But still showing the warning. what to do and why? If anyone facing the same ...
Swetha T's user avatar
0 votes
0 answers
15 views

pywin32 (4096, Microsoft Outlook, access route doesn't exist)

I created an application from Python using Nuitka, and when running a distribution in a different PC the function of sending emails with an attachment is not working using pywin32. The following ...
SloughyJoker57's user avatar
0 votes
0 answers
24 views

Windows service from python executable file doesn`t respond

For a week now, I've been trying to get a Windows service to work that I create from an exe file created by pyinstaller. This is a telegram bot. But I keep getting error 1053. I have tried several ...
Max Simple's user avatar
0 votes
1 answer
37 views

Unable to access FastApi app that is running as windows service created with pywin32

i have a basic fastapi main.py as following: from fastapi import FastAPI from fastapi.middleware.cors import CORSMiddleware app = FastAPI() origins = ["*"] app.add_middleware( ...
Jaydeep's user avatar
  • 795
0 votes
0 answers
64 views

Reading & Writing other process's STD handles in python

I am trying to use Pywin32 to get the STD handles of another process, then read and write to them. My source code is: import win32api import win32con import win32file STD_INPUT_HANDLE = -10 ...
user0's user avatar
  • 61
0 votes
1 answer
36 views

Excel Ungrouping data

I am trying to ungroup the data in excel file. I am not aware of row no which have been grouped. When I click on 2 on top of file data gets ungrouped. Is there a way I could do it using python. I ...
Rishi Parpyani's user avatar
0 votes
1 answer
57 views

Why my "try/except" block misses the error?

I've been researching how to make my python code relaunch with admin privileges and was able to find the answer as: import sys import os from win32comext.shell import shell asadmin = 'asadmin' if sys....
Leonard Betts's user avatar
0 votes
0 answers
53 views

Calling Excel Macros in Python

I need help with my python code for the following: In this network path: “\folder\name\endfile.xlsm”, I have a file called "endfilexlsm" Within this file, I have a macro called “...
Sam Smith's user avatar
1 vote
1 answer
69 views

AttributeError: xlColumnClustered

My Python code to generate charts from pywin32 in Excel is: def add_chart1(location, sheet, range1, title, left, right, height, width, charttype): pythoncom.CoInitialize() xl = win32.gencache....
Hello World's user avatar
0 votes
0 answers
12 views

how to obtain a pop-up or system alert when my timer ends in Django

I have a task-timer app, the timer model has an attribute "end" that takes in timefield by generics.createAPIview. I want to add a feature using signals such that, when the timers end time ...
BK Anushree's user avatar
0 votes
0 answers
19 views

Windows exhibit multiple child/sub processes in Task Manager

I have a Python application that I'm running as a service using the pywin32 library. I have multiple Windows 10 servers, each hosting around ten Python services running the same code on different ...
Riyaz J's user avatar

15 30 50 per page
1
2 3 4 5
139