Can you refactor functions and bindings?

Gentlemen....

Refectoring my configuration frame shrunk the code many, many lines.

Welcome to the wonderful world of refactoring...

but my problem seems to be the actual function name can't be instanced
in a dictionary.

I can't write:

def self.Functions[0]['SndDef'](self, event): Or can I?

I am not sure to understand your question, but it may be useful to see
the techniques used here:

http://archive.pythonpapers.org/ThePythonPapersVolume2Issue4.pdf

The article "Python Switch Statement" makes great usage of lists and
dictionaries containing functions. This helped me very much in
refactoring my code, hope it will be useful for you too.

ยทยทยท

2008/7/22 Steve Freedenburg <stevefreedenburg@charter.net>: