How do I set the __debug__ flag in a win32com server?

A

ago

Hi all,

When I use my win32com.server object from an excel client, the python
process running the server always has __debug__==True. When using a
python client the __debug__ flag for the server is determined by the
client (i.e. if I start the client with 'python -o client.py' then
__debug__ == False both for the server and the client). But when
running it from excel I cannot do that. Registering the com server with
debug=false does not seem to have anything to do with the __debug__
flag. Is it possible to change the flag at all?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,682
Members
48,796
Latest member
Greg L.

Latest Threads

Top