Ich möchte eine Funktion anhand eines dict aufrufen. Leider geht die letzte Zeile nicht

Code: Alles auswählen
functionsDict = {
'a' : 'myA',
'b' : 'myB',
'c' : 'myC'
}
def myA():
print "a"
def myB():
print "b"
def myC():
print "c"
wert = "b"
func = functionsDict[wert]
print "Funktionsname: " + func
func()