16

I'm not even sure what these would be called? I used to write them in ADA running on VAX-VMS!

I want to make a simple menu-driven application that would let me display menus and use the cursor keys to navigate around them, choose items and navigate around the app. All fully old school text based.

I want to be able to take over the whole terminal window and display stuff in different places.

Is this possible in Python?

MalphasWats
  • 3,255
  • 6
  • 34
  • 40

3 Answers3

17

Check out the Python HOWTO on Curses Programming with Python and here is the library reference.

Levon
  • 138,105
  • 33
  • 200
  • 191
10

Another easy to use library is Urwid - Console User Interface Library.

http://excess.org/urwid/

http://excess.org/urwid/examples.html

Taha Jahangir
  • 4,774
  • 2
  • 42
  • 49
1

Yes, have a look at the different curses implementations.

ChristopheD
  • 112,638
  • 29
  • 165
  • 179