-
-
Save carlosa8c/934fb3c59bca3e391fe19da0e3ad38f9 to your computer and use it in GitHub Desktop.
listener that triggers the main program
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import threading | |
import pyazo | |
import keyboard | |
wxTest.main() | |
lock=threading.Lock() | |
while True: | |
keyboard.wait('ctrl+shift+d') | |
lock.acquire() | |
pyazo.main() | |
lock.release() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment