registering objects?
Eric Brunel
eric.brunel at pragmadev.com
Mon Jan 7 09:43:20 EST 2002
More information about the Python-list mailing list
Mon Jan 7 09:43:20 EST 2002
- Previous message (by thread): registering objects?
- Next message (by thread): TeXmacs
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Lewis Bergman wrote: [snip] > server.register_function(name.method) Replacing this line with: server.register_function(getattr(name, method)) should do the stuff. Please note that dir and getattr will also get the attributes defined for your classes, and not only their methods... A bit tricky for your first Python program, though :-) HTH - eb -
- Previous message (by thread): registering objects?
- Next message (by thread): TeXmacs
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list