cpython/Demo/curses
Andrew M. Kuchling 9a62448d2f Use random module instead of whrandom
Move imports to top
2002-04-10 14:50:16 +00:00
..
README Added "repeat.py" -- repeatedly execute a shell command (like 2001-01-05 20:54:07 +00:00
life.py Use random module instead of whrandom 2002-04-10 14:50:16 +00:00
ncurses.py Update this demo to use curses.panel 2000-12-22 21:50:01 +00:00
rain.py
repeat.py Added "repeat.py" -- repeatedly execute a shell command (like 2001-01-05 20:54:07 +00:00
tclock.py Choose the smallest value of x,y for the clock's radius (instead of just taking the 2000-12-23 14:50:18 +00:00
xmas.py Another demo from Thomas Gellekum (seasonally-themed, too) 2000-12-21 16:26:37 +00:00

README

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.

ncurses.py      -- currently only a panels demo
                   XXX this won't work until panel support is checked in
rain.py         -- raindrops keep falling on my desktop
tclock.py       -- ASCII clock, by Howard Jones
xmas.py         -- I'm dreaming of an ASCII christmas

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
===========

life.py         -- Simple game of Life
repeat.py       -- Repeatedly execute a shell command (like watch(1))