13 lines
183 B
Python
13 lines
183 B
Python
import keyboard
|
|
import time
|
|
|
|
|
|
def main():
|
|
while True:
|
|
pressed_key = keyboard.read_key()
|
|
print(pressed_key.upper(), end='')
|
|
|
|
|
|
if __name__ == '__main__':
|
|
main()
|