From 943e907dbb51c9e178cbc5c1cde7656e7fa63b17 Mon Sep 17 00:00:00 2001 From: Jasper C <97516104+Jasper-Claus@users.noreply.github.com> Date: Tue, 2 Apr 2024 01:56:48 +0200 Subject: [PATCH] Delete test.py --- test.py | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 test.py diff --git a/test.py b/test.py deleted file mode 100644 index 1bacd25..0000000 --- a/test.py +++ /dev/null @@ -1,13 +0,0 @@ -from pynput.keyboard import Key, Listener - -def on_press(key): - print('{0} pressed'.format(key)) - -def on_release(key): - if key == Key.esc: - # Stop listener - return False - -# Collect events until released -with Listener(on_press=on_press, on_release=on_release) as listener: - listener.join() \ No newline at end of file