Created
August 17, 2018 13:21
-
-
Save EnumCode/6dcf6a2ba51629f328fdff06f9d330e3 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