Skip to content

Instantly share code, notes, and snippets.

@EnumCode
Created August 17, 2018 13:21
Show Gist options
  • Save EnumCode/6dcf6a2ba51629f328fdff06f9d330e3 to your computer and use it in GitHub Desktop.
Save EnumCode/6dcf6a2ba51629f328fdff06f9d330e3 to your computer and use it in GitHub Desktop.
listener that triggers the main program
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