How do you create a restaurant menu on python?
The program must display a text-based menu of the above items for the users to choose from. Basically I have to create a program that will continue to ask for an item until the user signals that the order is complete. If a user enters the word “Done,” then the program computes the total cost of the order and displays both the user’s order and the total cost. More than anything I just need someone to point me in the right direction, maybe a good tutorial or something.
Comments
You need a curses style text based GUI library for this.
PyUniCurses
http://sourceforge.net/projects/pyunicurses/
Urwid (Linux/Cygwin only)
http://excess.org/urwid/
http://excess.org/urwid/examples.html
http://excess.org/urwid/tutorial.html
Note: Text UIs are generally harder to get started on with MS Windows (in case you are on it), since there isn't a whole lot of use for them in this setting... and so there are fewer libraries. Expect to have some problems installing PyUniCurses. Linux has many curses based libraries and they are easy to setup.