Re: [python-win32] Welcome to the "python-win32" mailing list (Digest mode)

2022-11-08 Thread Dennis Lee Bieber
On Tue, 08 Nov 2022 15:53:19 -, Brian Johnson declaimed the following: >Hi python-win32 community.I am trying to get this toy COM server (code is >below) to work. It is the sample code from "Python Programming for Win32" and >adapted for python 3.10. When I test it using VBA in Word, I get

Re: [python-win32] Welcome to the "python-win32" mailing list (Digest mode)

2022-11-08 Thread Mark Hammond
pythoncom.CLSCTX_LOCAL_SERVER means this COM object will be hosted by python.exe - so COM/office is going to look up the registry to get a command-line to execute. As written, that will just re-register the COM server - so yes, you do want that `localserver.serve()`. The default of

Re: [python-win32] Welcome to the "python-win32" mailing list (Digest mode)

2022-11-08 Thread Brian Johnson
Hi python-win32 community.I am trying to get this toy COM server (code is below) to work. It is the sample code from "Python Programming for Win32" and adapted for python 3.10. When I test it using VBA in Word, I get this error:Run-time error '429':ActiveX component can't create objectI don't

Re: [python-win32] Welcome to the python-win32 mailing list

2009-04-05 Thread Fleu Risseur
Heloodespite all my efforts and 3 weeks searching/installing/cleaning etc I can not import win32 in APTANA +pydev my source : print (fff) import os import win32 the last line produces permanently ImportError: No module named win32 As I travel a lot, please send me a mail to

Re: [python-win32] Welcome to the python-win32 mailing list

2009-04-05 Thread Gerdus van Zyl
Firstly there is no module called win32; only things like win32api or win32gui, etc. (May have changed in py3k version?) Otherwise check your python path in pydev: Go Window - Preferences - Pydev - Interpreter - Python On my system there is an entry for c:\python25\lib\site-packages\win32; if a

Re: [python-win32] Welcome to the python-win32 mailing list

2008-12-30 Thread Joshua Lim
, the indents can get messed up. Just fix them yourself. MikeDate: Mon, 29 Dec 2008 10:47:15 -0800 From: t...@probo.com To: python-win32@python.org Subject: Re: [python-win32] Welcome to the python-win32 mailing list Tim Roberts wrote:Well, select is not just a drop-in replacement

Re: [python-win32] Welcome to the python-win32 mailing list

2008-12-29 Thread Tim Roberts
Joshua Lim wrote: Hi everyone, I'm new to python or C. I've been trying to get open source pyrad, a socket radius python app, to work on win32, and encountered an error: Traceback (most recent call last): File C:\Python25\pyrad\example\server.py, line 36, in module srv.Run() File

Re: [python-win32] Welcome to the python-win32 mailing list

2008-12-29 Thread Tim Roberts
Tim Roberts wrote: Well, select is not just a drop-in replacement for poll, although it can serve the same function. Without looking at the rest of the source, you probably want something like this: def Run( self ): self._fdmap = {} self._PrepareSockets() while

Re: [python-win32] Welcome to the python-win32 mailing list

2008-12-29 Thread Joshua Lim
-win32] Welcome to the python-win32 mailing list Tim Roberts wrote: Well, select is not just a drop-in replacement for poll, although it can serve the same function. Without looking at the rest of the source, you probably want something like this: def Run( self ): self._fdmap = {} self

Re: [python-win32] Welcome to the python-win32 mailing list

2008-12-27 Thread Joshua Lim
Hi everyone, I'm new to python or C. I've been trying to get open source pyrad, a socket radius python app, to work on win32, and encountered an error: Traceback (most recent call last): File C:\Python25\pyrad\example\server.py, line 36, in module srv.Run() File