cpython-withatomic / Demo / curses /

The branch 'legacy-trunk' does not exist.
Filename Size Date modified Message
1.0 KB
7.8 KB
6.5 KB
2.3 KB
1.5 KB
3.2 KB
24.9 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))
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.