First commit
This commit is contained in:
parent
6118dd2b35
commit
f27216257a
9 changed files with 15601 additions and 0 deletions
17
Main/Dicts.py
Normal file
17
Main/Dicts.py
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
MORSE_DICT = { 'A':'.-', 'B':'-...',
|
||||
'C':'-.-.', 'D':'-..', 'E':'.',
|
||||
'F':'..-.', 'G':'--.', 'H':'....',
|
||||
'I':'..', 'J':'.---', 'K':'-.-',
|
||||
'L':'.-..', 'M':'--', 'N':'-.',
|
||||
'O':'---', 'P':'.--.', 'Q':'--.-',
|
||||
'R':'.-.', 'S':'...', 'T':'-',
|
||||
'U':'..-', 'V':'...-', 'W':'.--',
|
||||
'X':'-..-', 'Y':'-.--', 'Z':'--..',
|
||||
'1':'.----', '2':'..---', '3':'...--',
|
||||
'4':'....-', '5':'.....', '6':'-....',
|
||||
'7':'--...', '8':'---..', '9':'----.',
|
||||
'0':'-----', ',':'--..--', '.':'.-.-.-',
|
||||
'?':'..--..', '/':'-..-.', '-':'-....-',
|
||||
'(':'-.--.', ')':'-.--.-', ' ': '|',
|
||||
'\n': '.-.-.-.'}
|
||||
ALPH_DICT = {v: k for k, v in MORSE_DICT.items()}
|
||||
Loading…
Add table
Add a link
Reference in a new issue