Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用keyboardPython 中的模块来阻止某些键,并且我希望该keyboard.block_key()功能仅适用于该程序/控制台窗口 - 但是如何?
keyboard
keyboard.block_key()