something like getc() in console without curses?
Rainy
sill at optonline.net
Tue May 15 06:55:27 EDT 2001
On Tue, 15 May 2001 09:54:33 GMT, Rainy <sill at optonline.net> wrote:
> Hiya,
>
> I'm writing a frontend script for mpg123, I'd like to process characters one
> at a time, so that I can hit 'n' and it'd play the next track. I don't want any
> other curses features, though, so I thought it would be an overkill to use them
> just for this. What's the easiest way to do this? (I looked at docs and searched
> google, all in vain).
>
Doh.. it's in python FAQ, of all places :/.
--
Delay not, Caesar. Read it instantly.
-- Shakespeare, "Julius Caesar" 3,1
Here is a letter, read it at your leisure.
-- Shakespeare, "Merchant of Venice" 5,1
[Quoted in "VMS Internals and Data Structures", V4.4, when
referring to I/O system services.]
More information about the Python-list
mailing list