Curses and menus...

Roberto Bechtlufft robertobech at gmail.com
Wed Oct 4 19:53:18 EDT 2006


I'm trying hard to create my first useful python program: an rss reader
in curses. I wrote some really ugly code to create a highlighting menu:
the opprions are laid on the screen, and then pressing up and down i
move a white bar to mark the item. Kind of like dialog menus.

But the code is REALLY ugly. I read about curses libmenu, but seems
like it wasn't ported to Python... this sounds weird to me. Why wasn't
it ported?

Maybe there is an easier way to create these menus. I've already tried
urwid. but I got a bit confused over the syntax.. Maybe I could use
dialog and ncurses together. Do these two thing mix together nicely, or
is it a bad idea?




More information about the Python-list mailing list