pywin32 Questions
2
This might be a bit of a stretch, but is there a possibility that a python script can be used to create VBA in MS Excel (or any other MS Office product that uses VBA) using pythonwin or any other m...
3
Solved
I am trying to extract the sender's email address from outlook 2013 using win32 package in python. There are two kinds of email address type in my Inbox, exchange and smtp. If I try to print the th...
3
Solved
I have googled for some time but could not find simple example of python3 ctypes and Win32 API for creating and showing window. Please point me to good link or show code here.
Thanks in advance!
Tonkin asked 18/3, 2011 at 15:7
1
Solved
I want to open a specific log to the Windows Event Log, named "Microsoft-Windows-TerminalServices-LocalSessionManager". I used this code:
import win32evtlog
server = 'localhost' # name of the tar...
7
Solved
I am using python 3.4 on windows 7. In order to open a doc file I am using this code:
import sys
import win32com.client as win32
word = win32.Dispatch("Word.Application")
word.Visible = ...
Meant asked 12/8, 2014 at 6:9
1
My question is simple: can I install win32com python API (pywin32 notably) on an OS that is not Windows?
I have been trying, on Mac, multiple versions of pip install pywin32, all have failed....
2
Solved
I have a working script that creates and sends Outlook emails successfully through pywin32, but I would like to send the email from a different, generic account. I have access to this generic accou...
Prosector asked 12/6, 2014 at 19:17
1
Solved
With xlwings, I am trying to move a worksheet within a workbook to the end. For example, a workbook contains a collection of the following sheets:
Sheet1, Sheet2, Sheet3
How can I move Sheet1...
3
Solved
8
I'm trying to start a simple service example:
someservice.py:
import win32serviceutil
import win32service
import win32event
class SmallestPythonService(win32serviceutil.ServiceFramework):
_sv...
Beating asked 20/1, 2012 at 15:0
1
Solved
I have written a python script which will be installed in as windows service. Below is the code:
import datetime
import logging
from logging.handlers import RotatingFileHandler
import os
import tim...
Beaune asked 5/9, 2020 at 14:16
5
Here is all of my code,I try to use this to decrypt chrome password in windows.
import os
import sqlite3
import win32crypt
def get_chrome():
data_path = os.path.expanduser('~') + r'\AppData\Local...
Krefetz asked 20/2, 2020 at 22:17
4
I am trying to create a simple open source utility for windows using Python that can perform user-defined actions on the selected text of the currently active window. The utility should be activate...
1
I am having issues trying to setup a pypy3 kernel for a Jupyter Notebook on my Windows 10 machine.
Following the instructions from these 2 other related threads (1, 2) I have used ipykernel with t...
Fishing asked 17/5, 2020 at 14:6
5
Solved
I can set up an autofilter using pyWin32, but I wondered if it's possible to set a default filter and what the syntax would be.
For example, I'd like to set a filter on a year column and set the ...
2
Solved
I'm writing a windows service in Python, which at some point needs to lock windows if a specific condition happens (for example the person leaves the pc un-attended for some time).
The solution I ...
1
Solved
I have managed to cobble together a working demo of a pywin32 Windows service running Flask inside the Pylons waitress WSGI server (below). A niece self contained solution is the idea...
I have spe...
1
Solved
I have a Windows dll called some.dll with the following function:
void some_func(TCHAR* input_string)
{
...
}
some_func expects a pointer to utf-16 encoded string.
Running this python code:
fr...
Rinehart asked 29/12, 2019 at 14:37
1
Solved
[PyPI]: pywin32 226 has been released on 20191110. It works on most of the Python installations (e.g. works on the official versions downloaded from Python), but not on virtual environments (e.g. c...
Cyclostyle asked 11/11, 2019 at 16:21
1
Solved
Note: this issue is fixed in Spyder 4.1.3!
(original question) checking out Python 3.8 (x64) on Windows 10, I got into trouble when trying to setup Spyder. Note: the issue was reproducible...
Teufert asked 25/10, 2019 at 10:57
2
Solved
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]: pywin32 225 (released on 20190915). Unfortunately, aft...
Giovannigip asked 30/10, 2019 at 18:18
11
Solved
I am trying to install pywin32 for Python 2.6.
I have python installed but it's not in the regular c: drive but on the d: drive . The pywin32 installer does not find it and I cannot give the custom...
3
Solved
I use the python package "python-docx" to modify the structure amd content of MS word .docx documents. The package lacks the possibility to update the TOC (table of content) [Python: Create a "...
Openminded asked 7/10, 2015 at 12:39
1
Solved
I am trying to automate Microsoft Office applications and after some Googling, I came across pypiwin32 and pywin32 to interact with Windows Component Objects. My question is, what's the difference ...
2
Solved
I cannot find pywin32 documentation or even a little synopsis of what the module is (I am aware its for win32 API stuff).
Is there any pywin32 documentation or resources? Maybe some examples?
© 2022 - 2024 — McMap. All rights reserved.