Un simple traducteur de code Morse écrit en python.
https://github.com/willy-r/morse-translator.git
morse-translator
: $ cd morse-translator
$ pip install -r requirements.txt
Pour traduire le texte normal en utilisation du code Morse:
$ python morse.py -t TEXT
Pour traduire le code Morse en utilisation de texte:
$ python morse.py -f MORSE
Remarque : Si le caractère des deux options n'est pas dans le fichier Morse_Tables.json, le caractère sera remplacé par '#'.
Pour lire le Sound du code Morse Utilisez l'option -s
dans les deux options:
$ python morse.py -s -t TEXT
$ python morse.py -s -f MORSE
Entrez $ python morse.py -h
pour voir toutes les commandes.
$ python morse.py -t ' morse code! '
-- --- .-. ... . / -.-. --- -.. . -.-.--
$ python morse.py -t morse
-- --- .-. ... .
$ python morse.py -t 1999
.---- ----. ----. ----.
$ python morse.py -t ' maçã '
-- .- # #
$ python morse.py -f ' -- --- .-. ... . / -.-. --- -.. . -.-.-- '
MORSE CODE !
$ python morse.py -f ' -- --- .-. ... . '
MORSE
$ python morse.py -f ' .---- ----. ----. ----. '
1999
$ python morse.py -f ' -- .- # # '
MA# #
Pour commencer ...
Option 1
Option 2
https://github.com/willy-r/morse-translator.git
https://github.com/willy-r/morse-translator/compare
.Contactez-moi dans l'un des endroits suivants!
@lliw_r