def get_menu_example():
    print 'Select an example to run:'
    for index, name in enumerate(EXAMPLES):
        print '%3d. %s' % (index + 1, name)
    try:
        return EXAMPLES[int(raw_input('> ')) - 1]
    except Exception:
        return None
dataset/ETHPy150Open fogleman/pg/main.py/get_menu_example/original