something like getc() in console without curses?

Rainy sill at optonline.net
Tue May 15 05:54:33 EDT 2001


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).

-- 
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