1. Armin Rigo
  2. cpython-withatomic


cpython-withatomic / Demo / curses /

The branch '2.3' does not exist.
Filename Size Date modified Message
1.0 KB
6.5 KB
6.5 KB
2.4 KB
1.5 KB
3.2 KB
24.3 KB
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

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

Other demos

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