You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Benjamin Peterson 2a691a8149 Merged revisions 62021,62029,62035-62038,62043-62044,62052-62053 via svnmerge from 18 years ago
..
README Merge the rest of the trunk. 20 years ago
life.py Make the last two curses demos work again -- they were using float 19 years ago
ncurses.py Merged revisions 62021,62029,62035-62038,62043-62044,62052-62053 via svnmerge from 18 years ago
rain.py Merge the rest of the trunk. 20 years ago
repeat.py Add -i option. Don't exit when the command fails. Redirect stderr to stdout. 19 years ago
tclock.py Merge the rest of the trunk. 20 years ago
xmas.py Merge the rest of the trunk. 20 years ago

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