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
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
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
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
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
, 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
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
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
-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
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
10 matches
Mail list logo