0
0
mirror of https://github.com/python/cpython.git synced 2024-12-01 11:15:56 +01:00
cpython/Demo/curses
Guido van Rossum 3f6dd68e2a Make the last two curses demos work again -- they were using float
division.  The other curses demos all work fine, so I'm more confident
that the curses library actually works. (Don't try to display
non-ASCII characters, of course.)
2007-07-24 17:57:36 +00:00
..
life.py Make the last two curses demos work again -- they were using float 2007-07-24 17:57:36 +00:00
ncurses.py Make the last two curses demos work again -- they were using float 2007-07-24 17:57:36 +00:00
rain.py Merge the rest of the trunk. 2006-06-08 15:35:45 +00:00
README Merge the rest of the trunk. 2006-06-08 15:35:45 +00:00
repeat.py Run 2to3 over the Demo/ directory to shut up parse errors from 2to3 about lingering print statements. 2007-07-17 20:59:35 +00:00
tclock.py Merge the rest of the trunk. 2006-06-08 15:35:45 +00:00
xmas.py Merge the rest of the trunk. 2006-06-08 15:35:45 +00: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.

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