def other():
    print('I can call multiple functions')

def fail():
    print('You gave a bad function name.  I only know about %s' % ', '.join(
        list(funcs.keys())))
funcs = {'test': test, 'other': other}
target = input('Function to run? ').strip()
funcs.get(target, fail)()
function_to_call = funcs.get(target, fail)
function_to_call()
Trying to use raw input with functions