from ProgramChooser import ProgramChooser def micronec(): from micronEC import micronec micronec.run() def lcd_big_hello(): from excercise import lcd_big_hello lcd_big_hello.run() programs = { "micronEC": micronec, "lcd_big_hello": lcd_big_hello } pc = ProgramChooser(programs, 7, 8, debug=True) pc.run()