[python-win32] Single-instance, only when invoked COM localserver

2009-04-29 Thread J
Hi all.? First post, and I did try to do due diligence on browsing the mailing list and googling, but I could not find an answer to this (? hopefully I tried hard enough... ;->? ). I have a setup where I want a COM LocalServer to only be available when the application has been manually starte

[python-win32] win32api documentation

2009-10-09 Thread J
Hi everyone... I've been searching high and low looking for any sort of decent reference for the win32api in python and I can't find anything that is useful. The only real explanation I've found is the msdn site, but as I'm not a C programmer, translating the various calls to python and guessing

Re: [python-win32] win32api documentation

2009-10-09 Thread J
On Fri, Oct 9, 2009 at 11:06, Tim Golden wrote: > Here at least I can help. Try using WMI which eats this kind of > thing for breakfast[*]. Start here: > >  http://timgolden.me.uk/python/wmi.html > > taking in this: > >  http://timgolden.me.uk/python/wmi-tutorial.html > > and this: > >  http://ti

Re: [python-win32] win32api documentation

2009-10-12 Thread J
Ok... that all helped a lot. I've been playing around with memory a bit, and cache, and I'll poke at that some more later. Today I've been looking into processors. So WMI provides Win32_Processor and from what I've read, there exists one instance of Win32_Processor for each processor on a SMP ma

Re: [python-win32] win32api documentation

2009-10-13 Thread J
e right Memory related class to get either the amount present per dimm or the total physical amount present. I'm still looking into that... and that'll probably be my day. thankfully, they don't really have much at all for me to official

Re: [python-win32] win32api documentation

2009-10-13 Thread J
On Tue, Oct 13, 2009 at 12:33, Tim Golden wrote: > I suspect you're coming from a C background? Or something > similar. Python's a very versatile language and tries to > help you avoid boilerplate. So you can do things like this: Yeah... similar, I guess. C++ to some degree, VB, Basic, a smatter

[python-win32] using WMI to get processor flags...

2009-10-23 Thread J
First, Thanks again Tim Golden :) I've gotten a lot of use out of WMI so far, though I'm still trying to get an actual list of WHAT I need as far as system info for this tool I'm writing. Now I've got another question that I hope someone can provide the answer I want, not the one I'm afraid is co

[python-win32] Still looking for a method to get CPUID info ...

2010-01-05 Thread J
I've been at this a while :) Thought I'd ask if anyone knew either of a way in python, or just a stand alone tool, to use in Windows to get CPU information. Specifically, I'm looking for Feature sets or Flags. What I'm doing is building a tool for work that gets certain bits of system information

Re: [python-win32] Still looking for a method to get CPUID info ...

2010-01-05 Thread J
something new to play with and learn about. Cheers Jeff -- Joan Crawford - "I, Joan Crawford, I believe in the dollar. Everything I earn, I spend." - http://www.brainyquote.com/quotes/authors/j/joan_crawford.html ___ python-win32 mailing list [email protected] http://mail.python.org/mailman/listinfo/python-win32

[python-win32] MAPIInitialize problem

2008-03-14 Thread j
Hi, when I try use MAPI, I get message with pywintypes.com_error ... Can anybody help me? (PyWin32 210) Python 2.4.4 (#71, Oct 18 2006, 08:34:43) [MSC v.1310 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license" for

[python-win32] AutoCAD and Python

2006-01-12 Thread Rockmaster J
Hi, everybody.  I'm Jason.I'm a long time AutoCAD user, and I just started using Python.  So far, using win32all, I've got a Python script to act on AutoCAD and react to an AutoCAD event.  Now I'm trying to get a script to modify an AutoCAD database via AutoCAD COM calls AFTER the drawing is closed

[python-win32] Fwd: AutoCAD and Python

2006-01-12 Thread Rockmaster J
Hi, everybody. I'm Jason. I sent this once, but I don't think I was properly subscribed, since it didn't show up in the archives. Sorry for any duplicates. I'm a long-time AutoCAD user, and I just started using Python. So far, using win32all, I've got a Python script to act on AutoCAD and reac

[python-win32] SQL Server event notifications ?

2008-02-23 Thread j vickroy
Hello all, I realize this is more of a SQL Server question than a Python/Windows question, but ... I would like to develop an application that receives event notifications from SQL Server rather than polling the database. Specifically, I am interested in table INSERT and UPDATE events. Is

[python-win32] Python Windows MSI installs now fails with error 2755...

2009-05-03 Thread J. Marc Edwards
I am a new Python user. I was experimenting with a variety of Python versions on Windows XP, e.g. 2.6.2, 3.0.1, ActiveState 2.6.2/3.0.1, etc. I then also wanted to start using iPython, which I also installed on my Windows XP system. I am also an emacs user, so I was trying to get the Pytho

[python-win32] Issue with PythonCOM - Application.Run does not work for Access.Application

2021-09-17 Thread Christoph J. Dorner
Hi there, I need to call Office / VBA applications form a running Python script. While calling VBA from Python using Application.Run works with EXCEL, it does not work with ACCESS. What I do: I link to the Office application via the win32com.client dispatch mechanism as usual and I can see the ap

Re: [python-win32] Issue with PythonCOM - Application.Run does not work for Access.Application

2021-11-14 Thread Christoph J. Dorner
ier regarding Python 64bit and Office / Acccess 32bit ? https://code.activestate.com/lists/python-win32/12574 Best regards Christoph Am 17.09.2021 um 09:26 schrieb Christoph J. Dorner: Hi there, I need to call Office / VBA applications form a running Python script. While calling VBA from Python usin

Re: [python-win32] file name contains brackets got converted to %5B and %5D

2022-04-10 Thread Christoph J. Dorner
Hi, I am not sure If I gto the context, it is hard to understand what you have done witht he limited description. But I guess you passed a filename to a COM object ? Try to escape the brackets. And check for problems arising a) from the different notation conventions for pathnames and b) differe

Re: [python-win32] unknow solution

2023-05-31 Thread Christoph J. Dorner
Hey guys, just one idea from a problem I had: Not succeeding to call ACCESS via pywin32 in the same way I succeeded to call EXCEL I learned that not all 32bit versions of Office applications provide a suitable 64bit proxy as part of their COM interface. I do not know which bitness your Office has

[python-win32] missing or broken dll

2006-05-04 Thread H J van Rooyen
Hi All,   I am trying to get the serial port (com1 or com2) to work on a PC, using python.  It works fine under Linux (/dev/ttys0) but under windoze 95 I am having no joy.   Some background:   When I use the standard distribution (not pywin) as downloaded, I find that there is no serial mod

[python-win32] inspect signature for COM object method

2025-07-28 Thread Christoph J. Dorner via python-win32
Hi there, I have simple question that is porbably not really a challenge for experienced Pytohneers: I am struggling to get the signature object for Example: let's assume I have a Python variable representing a EXCEL Workbook object. I want to get an inspect.signature object for the workbook m

[python-win32] Issue with GitHub Action - dependency pywin32 not found

2025-09-25 Thread Christoph J. Dorner via python-win32
Dear all, after getting around some obstacles I wanted to publish some packages, one a helper to develop COM objects using pywin32. When running my GitHub actiona I geht the error Installing project in development mode

[python-win32] Re: Issue with GitHub Action - dependency pywin32 not found

2025-09-25 Thread Christoph J. Dorner via python-win32
um 01:20 Von: "Bob Kline" An: "Christoph J. Dorner" CC: [email protected] Betreff: [python-win32] Re: Issue with GitHub Action - dependency pywin32 not found Are you using a Windows runner? On Thu, Sep 25, 2025 at 4:06 PM Christoph J. Dorner via python-win32 <

[python-win32] Re: Change in PyWin32 API between 3.0x and 3.11 ?

2025-10-27 Thread Christoph J. Dorner via python-win32
chatGPT delivers with regard to Python code snippets, it is quite a bit away from being flawless. Regards Chris Am 27.10.2025 um 09:00 schrieb Christoph J. Dorner via python-win32: Hi there, after some investigation I found the issue: the new version of PyWin32 does not find the makep

[python-win32] Change in PyWin32 API between 3.0x and 3.11 ?

2025-10-26 Thread Christoph J. Dorner via python-win32
Hi there, I discovered that an MSOffice wrapper, especially an EXCEL wrapper does not work as I was used to anymore. I evaluated the COM-object (or its _dispobj_ subobject) attributes _prop_map_get_ and _prop_map_put. It seems they are gone. Instead there is a subobject _olerepr_ with attribu

[python-win32] Re: Change in PyWin32 API between 3.0x and 3.11 ?

2025-10-27 Thread Christoph J. Dorner via python-win32
makepy for the typelib. Regards Christoph Am 26.10.2025 um 15:36 schrieb Christoph J. Dorner via python-win32: Hi there, I discovered that an MSOffice wrapper, especially an EXCEL wrapper does not work as I was used to anymore. I evaluated the COM-object (or its _dispobj_ subobject) attributes

[python-win32] Packages for pythonic wrapping MSOffice and COM object template class

2025-10-29 Thread Christoph J. Dorner via python-win32
Hi there, after some struggling with my personal toolchain I managed to get my personal packages published. Two of them might be of some interest for the audience of this mailing list. COM object templating tools helps create consistent COM objects with Python and automates checking. https:/