cpython/Demo/curses
Benjamin Peterson 5b63acd31e #2503 make singletons compared with "is" not == or !=
Thanks to Wummel for the patch
2008-03-29 15:24:25 +00:00
..
README Update readme 2006-06-03 22:44:42 +00:00
life.py Some code tidying; use curses.wrapper 2006-06-03 22:59:59 +00:00
ncurses.py #2503 make singletons compared with "is" not == or != 2008-03-29 15:24:25 +00:00
rain.py Use True; value returned from main is unused 2006-06-03 23:02:15 +00:00
repeat.py Docstring fix; use True 2006-06-03 23:09:58 +00:00
tclock.py Use true division, and the True value 2006-06-03 23:07:21 +00:00
xmas.py Drop 0 parameter 2006-06-03 22:59:23 +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
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 submit bugfixes and new contributions to the Python bug tracker.


Other demos
===========

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