How to implement COM class attributes?

Paul paul.kemp at standardbank.com
Sat Oct 18 09:05:16 EDT 2003


Would anyone be able to show me an example of how to implement and use
class attributes on a COM component implemented in Python?

I've experimented using these directives:

    _public_attrs_ = ['server', 'user']
or    
    _readonly_attrs = ['server', 'user']

...but I never seem to be able to retrieve them (or set them) from a
client.

Thanks
Paul




More information about the Python-list mailing list