added quick keyboard press tester
This commit is contained in:
parent
101be16f5c
commit
870ef94a57
0
terminal/__init__.py
Normal file
0
terminal/__init__.py
Normal file
12
terminal/__main__.py
Normal file
12
terminal/__main__.py
Normal file
@ -0,0 +1,12 @@
|
||||
import keyboard
|
||||
import time
|
||||
|
||||
|
||||
def main():
|
||||
while True:
|
||||
pressed_key = keyboard.read_key()
|
||||
print(pressed_key.upper(), end='')
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
Loading…
Reference in New Issue
Block a user