Question

I'm using Python with the curses import for a console application. I'd like to add a typical Menu bar at the top. I've found a couple different libraries, as well as the Python built-in panel feature for doing so, but since I'm pretty new to Python I'm wondering if there are better options out there? I just don't want to end up wrassling with something that isn't all that widely used or supported.

Était-ce utile?

La solution

I just skimmed the description of curses, so I don't know if it's relevant to you trying to implement a main menu, but I know a lot of people use tkinter.

http://www.tutorialspoint.com/python/tk_menu.htm

http://effbot.org/tkinterbook/menu.htm

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top