[docs] Little demo program for curses with Python's Howto (lineograph.py)
sandro.tosi at gmail.com
Mon Oct 31 17:27:02 CET 2011
On Mon, Oct 17, 2011 at 19:07, Edoardo <edonan at gmail.com> wrote:
> reading the curses programming HOWTO
> (http://docs.python.org/dev/howto/curses.html) I noticed it lacks a
> full running demo.
> Moreover, the document ends inviting developers to contribuite with a
> short program.
> I took such invitation and this is my two cents: a program that turns
> the terminal into a lineographic tool (kind of Etch A Sketch).
> It uses only the curses facilities explained in the HOWTO (except
> window.getmaxyx(), that is trivial) and works with both Python 2.7.1+
> and Python 3.2.
> Input controls are arrow keys to paint and "q" to quit.
Thanks a lot for your contribution: would you like to file an issue at
http://bugs.python.org attaching your code (maybe as a proper patch)?
This way, more eyes will look into it.
Sandro Tosi (aka morph, morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi
More information about the docs