Skip to content

c1m50c/morse-code

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

morse-code

Tests

Morse Code Encoder & Decoder written in Python.

Installing Requirements & Running

# Install Required Packages with the `pip` package manger.
$ cd morse-code
$ pip3 install -r ./requirements.txt
# Run the Application with `python3`.
$ cd morse-code
$ python3 src/main.py
...

Examples

message:$ we out here
Encoded: .-- . --- ..- - .... . .-. . 
Decoded:
message:$ morse code -- --- .-. ... . -.-. --- -.. .
Encoded: -- --- .-. ... . -.-. --- -.. . -....- -....- -....- -....- -....- .-.-.- -....- .-.-.- .-.-.- .-.-.- .-.-.- .-.-.- -....- .-.-.- -....- .-.-.- -....- -....- 
-....- -....- .-.-.- .-.-.- .-.-.- 
Decoded: MORSECODE

Encodable Characters

aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ # English Alphabet
,?:-"()=@+_'/;.!&$ # Punctuation Symbols
012345679 # Digits