[Tutor] Curses - What does it do and why is it called this?
Alan Gauld
alan.gauld at btinternet.com
Tue Oct 13 09:58:04 CEST 2009
"Katt" <the_only_katala at verizon.net> wrote
> Now I understand. Makes sense. If "Curses" is for UNIX what would I use
> on
> a Windows XP system using Python 2.6.2?
It does exist for DOS too but the Python bindings don;t sem to work well.
However for most simple terminal handling you can use the msvcrt module
(msvcrt = MicroSoft Visual C RunTime). There is also a conio module
(based on Borland's I/O library) which provides a bit more in the way of
cursor control. And I think Fred Lundh has a Terminal module that is
OS independant.
But for creating actual forms etc I'f just go with a GUI in Tkinter
or somesuch.
HTH,
--
Alan Gauld
Author of the Learn to Program web site
http://www.alan-g.me.uk/
More information about the Tutor
mailing list