-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I have defined a ZClass, say I called it 'MyZClass'. Then I added a Python Script (lets name it 'myPS'), in the methods section of the ZClass. How can I call that script from the ZClass itself (not from an instance, which is the common case)? After some experimentation I found that with the following syntax I could call myPS from another script: zClass=context.restrictedTraverse('/Control_Panel/Products/MyProduct/MyZClass') zClass.propertysheets.methods['myPS ']() ~ _ Pleas note the underlined blank in the key used to acces the methods dictionary. Is this intended? And if so, what is its purpouse? Thanks - -- ~ o Filippo Veneri ~ o Key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x1FC1E1CE ~ o Key Fingerprint: DDA9 129E 82C5 0D23 65C0 C04B FDC1 B93F 1FC1 E1CE o .''''. ~ o /O) './| ~ > ) \| .'\| ~ `....` ~ ` ` -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFArhr5/cG5Px/B4c4RAvP5AJ4/1oLyIMZJzOPBH2tmP2Jrho1HygCfZc0i EOp2y6WNxXuDtsCXRBP3Yx8= =75pF -----END PGP SIGNATURE-----