How to implement COM class attributes?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Paul

    How to implement COM class attributes?

    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
Working...