Created
April 16, 2018 00:44
-
-
Save trogdoro/5c7f9c32b24b29f74c0835188a7963c3 to your computer and use it in GitHub Desktop.
This file contains 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
LONGEST_KEY = 1 | |
SHOW_STROKE_STENO = 'KW-PL' # g-g (for go google) | |
def lookup(key): | |
#log("hi") | |
assert len(key) <= LONGEST_KEY | |
if SHOW_STROKE_STENO != key[0]: | |
raise KeyError | |
import os | |
os.system("open https://www.google.com/") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment