You could write your own little console interface, tailored to
your needs, which is implemented using curses on Unix, and the
effbot's 'console' on Windows.
Indeed, that's basically what I have done. Just can't help thinking
how much simpler (and so less error prone) it would have been had
For me, introducing similar commands in Python would be by far the biggest
single improvement that could be made to the language.
If it should be done, it should be done as a compatible subset of
curses, IMHO. It has such a long history as the standard GUI toolkit
But curses doesn't run
On 6/20/07, peter [EMAIL PROTECTED] wrote:
For me, introducing similar commands in Python would be by far the
biggest single improvement that could be made to the language.
If it should be done, it should be done as a compatible subset of
curses, IMHO. It has such a long history as
On Wed, 20 Jun 2007 00:51:09 -0700, peter [EMAIL PROTECTED] wrote:
For me, introducing similar commands in Python would be by far the
biggest single improvement that could be made to the language.
If it should be done, it should be done as a compatible subset of
curses, IMHO. It has such
On 2007-06-20, Jorgen Grahn [EMAIL PROTECTED] wrote:
On Wed, 20 Jun 2007 00:51:09 -0700, peter [EMAIL PROTECTED] wrote:
For me, introducing similar commands in Python would be by far the
biggest single improvement that could be made to the language.
If it should be done, it should be
[EMAIL PROTECTED] [EMAIL PROTECTED] writes:
The obvious choice, I thought, was ncurses. But as far as I can
tell, it is not available for Python on Windows?
More precisely, curses doesn't work natively on Windows, regardless of
whether Python is involved.
As with many how do I get Unix
I've said it before and I'll say it again. Why does Python have no
platform neutral commands for simple screen manipulation? yabasic (a
'hobby' type language - http://www.yabasic.de/) has commands clear
screen, inkey$ and putscreen$ which perform the basic functions of
clearing the screen,
On Jun 19, 2:17 am, Josiah Carlson [EMAIL PROTECTED]
wrote:
This link offers a series of links for console
IO...http://mail.python.org/pipermail/python-list/2005-January/303984.html
Thanks.
Among them is a link to the 'wcurses' module that has been relocated
On Jun 19, 9:04 am, Ben Finney [EMAIL PROTECTED]
wrote:
More precisely, curses doesn't work natively on Windows, regardless of
whether Python is involved.
True. But then: are there other multi-platform console libraries out
there? I want to code to a single API.
As with many how do I get
[EMAIL PROTECTED] [EMAIL PROTECTED] writes:
Just to be more precise: curses is not a requirement, a
multi-platform console library with a single API is. So are there
alternatives to curses? Python-only or not.
And as peter mentions, Python _could_ have such a library,
abstracting away the
On Tue, 19 Jun 2007 02:43:09 -0700, peter [EMAIL PROTECTED] wrote:
I've said it before and I'll say it again. Why does Python have no
platform neutral commands for simple screen manipulation? yabasic (a
'hobby' type language - http://www.yabasic.de/) has commands clear
screen, inkey$ and
On Jun 19, 3:27 pm, Ben Finney [EMAIL PROTECTED]
wrote:
[EMAIL PROTECTED] [EMAIL PROTECTED] writes:
Just to be more precise: curses is not a requirement, a
multi-platform console library with a single API is. So are there
alternatives to curses? Python-only or not.
You wouldn't happen to
[EMAIL PROTECTED] wrote:
On Jun 19, 3:27 pm, Ben Finney
And as peter mentions, it awaits only someone doing that work
and contributing it to Python. Those who can't see why it would
be hard are welcome to do so.
The classic answer.
Yes, because of the classic problem with unsalaried
[EMAIL PROTECTED] [EMAIL PROTECTED] writes:
On Jun 19, 3:27 pm, Ben Finney [EMAIL PROTECTED]
wrote:
[EMAIL PROTECTED] [EMAIL PROTECTED] writes:
Just to be more precise: curses is not a requirement, a
multi-platform console library with a single API is. So are there
alternatives to
I need to develop a cross-platform text-mode application. I would like
to do it in Python and I would like to use a mature text-mode library
for the UI stuff.
The obvious choice, I thought, was ncurses. But as far as I can tell,
it is not available for Python on Windows?
Is there a workaround?
[EMAIL PROTECTED] wrote:
I need to develop a cross-platform text-mode application. I would like
to do it in Python and I would like to use a mature text-mode library
for the UI stuff.
The obvious choice, I thought, was ncurses. But as far as I can tell,
it is not available for Python on
16 matches
Mail list logo