Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #18270

python curses wrapper

Path csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder2.hal-mli.net!news.stack.nl!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <magawake@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.061
X-Spam-Evidence '*H*': 0.88; '*S*': 0.00; 'python': 0.08; 'subject:python': 0.10; 'exception': 0.12; 'curses': 0.16; 'seems': 0.20; 'received:74.125.82.174': 0.24; 'message- id:@mail.gmail.com': 0.28; 'example': 0.29; 'url:library': 0.31; 'to:addr:python-list': 0.34; 'someone': 0.34; 'received:74.125.82': 0.35; 'url:python': 0.36; 'hello,': 0.37; 'received:74.125': 0.37; 'received:google.com': 0.37; 'url:docs': 0.39; 'url:org': 0.39; 'to:addr:python.org': 0.40; 'world': 0.62; 'care': 0.71
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=QjI/NFKkUBcrg6B4jn27fg4suDdSBXlq3LGzFH+lxcY=; b=ooOl8+BeBp2cac3a1vJ3vD8dquY7OO71h9znZAgh7V4FetzBP7rsjLEhEa2oXzYD6I LNqK9dAH+isGwr6iW0qnjFBo/2hBK12P0zhygqh1VSpKHBfb6kJD2IsFPfoJdRFjpz1O 2dGE//DVOMbFj+Pq+OFzqPZamlSTwgnH6mMTg=
MIME-Version 1.0
Date Sat, 31 Dec 2011 14:24:37 -0500
Subject python curses wrapper
From Mag Gam <magawake@gmail.com>
To python-list@python.org
Content-Type text/plain; charset=UTF-8
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.12
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.4275.1325359478.27778.python-list@python.org> (permalink)
Lines 10
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1325359478 news.xs4all.nl 6849 [2001:888:2000:d::a6]:40981
X-Complaints-To abuse@xs4all.nl
Xref x330-a1.tempe.blueboxinc.net comp.lang.python:18270

Show key headers only | View raw


Hello,

I have been struggling reseting the terminal when I try to do
KeyboardInterrupt exception therefore I read the documentation for
curses.wrapper and it seems to take care of it for me,
http://docs.python.org/library/curses.html#curses.wrapper.

Can someone please provide a Hello World example with python curses wrapper?

tia

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

python curses wrapper Mag Gam <magawake@gmail.com> - 2011-12-31 14:24 -0500

csiph-web