[PD-ot] Python method substitution

Jamie Bullock jamie at postlude.co.uk
Mon Apr 24 13:33:59 CEST 2006



Well this is extremely OT, but someone on this list might be willing to help...

Does anyone know of a way to use a variable in place of a method name Python. Something like:

foo = 'method'
bar.foo

whereby bar.foo gets substituted by bar.method


??

Jamie




More information about the PD-ot mailing list