26 Mar
2004
26 Mar
'04
6:55 a.m.
Hello Drew. As far as I know what you are trying to do does not work. Instead, define each method as a separate python script. Troy drew nichols wrote:
Can i get methods dynamically from a pythonscript? getattr doesn't seem to work.
I guess external methods would work, but can this be done?
##parameters=method=None ## def a(): return 'Hello'
if method is not None: return getattr ( script, method )()