[Tutor] MySQLdb simple menu

2008-08-16 Thread David
New to python and programming. This works but I don't like the way it is set up. I would like to have a simple menu like; [code] def options(): print \ Options: 'p' Print Options 'l' Login 'c' Create account 'q' Quit options() def choice(): choice = p

Re: [Tutor] MySQLdb simple menu

2008-08-16 Thread David
David wrote: New to python and programming. This works but I don't like the way it is set up. I would like to have a simple menu like; [code] def options(): print \ Options: 'p' Print Options 'l' Login 'c' Create account 'q' Quit options() def choice():