25 lines · 852 B · Text
RawDownload
This is a collection of demos and tests for the curses module.  ncurses demos============= These demos are converted from the C versions in the ncursesdistribution, and were contributed by Thomas Gellekum <tg@FreeBSD.org>I didn't strive for a `pythonic' style, but bluntly copied theoriginals. I won't attempt to `beautify' the program anytime soon, butI wouldn't mind someone else making an effort in that direction, ofcourse. ncurses.py      -- currently only a panels demorain.py         -- raindrops keep falling on my desktoptclock.py       -- ASCII clock, by Howard Jonesxmas.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 Liferepeat.py       -- Repeatedly execute a shell command (like watch(1))