2000-12-15 01:41:48 +01:00
|
|
|
This is a collection of demos and tests for the curses module.
|
|
|
|
|
|
|
|
ncurses demos
|
|
|
|
=============
|
|
|
|
|
|
|
|
These demos are converted from the C versions in the ncurses
|
|
|
|
distribution, and were contributed by Thomas Gellekum <tg@FreeBSD.org>
|
|
|
|
I didn't strive for a `pythonic' style, but bluntly copied the
|
|
|
|
originals. I won't attempt to `beautify' the program anytime soon, but
|
|
|
|
I wouldn't mind someone else making an effort in that direction, of
|
|
|
|
course.
|
|
|
|
|
2001-01-05 21:54:07 +01:00
|
|
|
ncurses.py -- currently only a panels demo
|
2000-12-15 01:41:48 +01:00
|
|
|
XXX this won't work until panel support is checked in
|
2001-01-05 21:54:07 +01:00
|
|
|
rain.py -- raindrops keep falling on my desktop
|
|
|
|
tclock.py -- ASCII clock, by Howard Jones
|
|
|
|
xmas.py -- I'm dreaming of an ASCII christmas
|
2000-12-15 01:41:48 +01:00
|
|
|
|
|
|
|
Please send bugfixes and new contributions to me or, even better,
|
|
|
|
submit them to the Python Bug Tracker on SourceForge
|
|
|
|
(<URL:http://sourceforge.net/bugs/?group_id=5470>).
|
|
|
|
|
|
|
|
|
|
|
|
Other demos
|
|
|
|
===========
|
2000-12-13 04:50:20 +01:00
|
|
|
|
2001-01-05 21:54:07 +01:00
|
|
|
life.py -- Simple game of Life
|
|
|
|
repeat.py -- Repeatedly execute a shell command (like watch(1))
|