Fonction d'appel dont le nom est dans une variable

module = __import__('foo')
func = getattr(module, 'bar')
func()
Bright Badger