Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 450 Bytes

README.md

File metadata and controls

19 lines (13 loc) · 450 Bytes

Morse Encoder and Decoder

Description:-

A simple morse encoder and decoder.(text version)

Usage:

  • It is a s simple as entering the string
  • (optional) You can even set the delimitor using -d. Default delimitor is "|"
python3 morse.py "string to encode" -d "/"
# output:-  ... - .-. .. -. --. /  - --- /  . -. -.-. --- -.. .

OR

python3 morse.py "-.. . -.-. --- -.. . -.. |  ... - .-. .. -. --."
#output:- "decoded string"