In <57051d11-abd9-4621-9618-1574cd375...@googlegroups.com> eamonn...@gmail.com 
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
gor...@panix.com              B is for Basil, assaulted by bears
                                -- Edward Gorey, "The Gashlycrumb Tinies"

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

Reply via email to