Given a string - execute a function by the same name

python at bdurham.com python at bdurham.com
Tue Apr 29 16:48:33 CEST 2008


Hi Max,

Thank you for pointing out the pattern of my request.

Using your google query
(http://www.google.dk/search?hl=en&q=python+factory+pattern) I found the
following description of what I'm doing.

Command Dispatch Pattern
http://www.suttoncourtenay.org.uk/duncan/accu/pythonpatterns.html#id26

Regards,
Malcolm



More information about the Python-list mailing list