In <[email protected]> [email protected] 
writes:

> Is there a way to detect if the user presses a key in Python that works on
> most OS's?

That depends on what you're really asking; your question is somewhat vague.

Are you asking for a function that waits for the user to press a key and
then returns the key that was pressed?

Or are you asking for a function that detects whether a key has been
pressed at all?

-- 
John Gordon                   A is for Amy, who fell down the stairs
[email protected]              B is for Basil, assaulted by bears
                                -- Edward Gorey, "The Gashlycrumb Tinies"

-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to