> if __name__ == "__main__":
> if "--register" in sys.argv[1:] or "--unregister" in sys.argv[1:]:
> import win32com.server.register
> win32com.server.register.UseCommandLine(ServerAdapter)
> else:
> server_thread = threading.Thre
hread(target=init_server)
> server_thread.start()app = Main()
>
>
The Ping() method would usually be called from the third-party app, but
here it is done locally for the sake of demonstration.
>From the server adapter, how can I query values or call methods of another
clas
le available from
them. Is it necessary though? I would rather do everything dynamically,
such as setting the GUID, just like I did for the DBus interface.
DBus interface: https://gitlab.com/-/snippets/2151173
COM interface: https://gitlab.com/-/snippets/2154411
Thanks,
Will
Le mer. 28 juil.
arate "sink" class (ImplementationAntidote) that
would behave more like a generic python object. Is there any other way to
achieve this? It is quite a trivial feature so I assume it is possible to
do so?
Best,
Will
Le mer. 28 juil. 2021 à 04:25, Mark Hammond a
écrit :
>
> On 28
Hi everyone,
I'm trying to make a cross-platform Python interface for a third-party API
(Druide Antidote). The D-Bus part is done and working (
https://gitlab.com/-/snippets/2151173), it consist of a server adapter
(AdaptateurAntidote), which relay the events to an handler class
(ImplementationAn
Hello,
I posted the following to Comp Lang Python list, but didn't receive any replies:
I'm looking for a way to get wireless signal strength on Windows XP
with Python. I see there's a library for Linux, but I can't find
anything for windows. However, I see that using WMI I can access it in
theor
Hello all.
Thanks for the tips and solutions posted to the list so far. This is
a general python question, not windows specific. It is my turn to ask.
(Perhaps the notion below will suggest some development to one of you. Who
knows?)
I want to execute a statement indirectly in Python.