How to implement COM class attributes?

Discussion in 'Python' started by Paul, Oct 18, 2003.

  1. Paul

    Paul Guest

    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
     
    Paul, Oct 18, 2003
    #1
    1. Advertisements

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. E11
    Replies:
    1
    Views:
    5,788
    Thomas Weidenfeller
    Oct 12, 2005
  2. Robert Oschler
    Replies:
    3
    Views:
    615
    Christopher T King
    Jul 27, 2004
  3. Andrew Degtiariov
    Replies:
    2
    Views:
    589
    Andrew Degtiariov
    Sep 17, 2004
  4. Max
    Replies:
    1
    Views:
    651
    Joe Kesselman
    Sep 22, 2006
  5. P4trykx
    Replies:
    2
    Views:
    2,125
    bruce barker
    Jan 31, 2007
  6. james_027

    class attributes & data attributes

    james_027, Jun 20, 2007, in forum: Python
    Replies:
    2
    Views:
    633
    Bruno Desthuilliers
    Jun 20, 2007
  7. Kyle Schmitt
    Replies:
    3
    Views:
    450
    Kyle Schmitt
    Jul 24, 2007
  8. Jayden
    Replies:
    16
    Views:
    839
    Steven D'Aprano
    Sep 29, 2012
Loading...