> I just making a small script to manipulate visio object attributes > in my > network documentation via com,
OK so far :-) > It works now from Python prompt. I just wanted to put this > functionality > into a small wxpython application and building up the menus like > pythoncard. And Ok with this I think, but.... Are you actually using PythonCard or are you using wxPython directly? > So, when there was a functionname like OnMenuShowAssetNumber, > I would append a new menuitem with ShowAssetNumber. OK, But I still don't see why you need getattr. Its your code, you know what the functions are, you can build the menu directly. Why use getattr? Alan G. _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor