A small Python practice project that converts plain text into Morse code.
The current script reads text from the terminal, converts letters A-Z into Morse symbols, converts spaces into /, and prints the encoded message.
morse_decoder.py- main text-to-Morse scriptmorse_test.py- empty placeholder test file
From the project folder:
python morse_decoder.pyExample input:
hello world
Example output:
.... . .-.. .-.. --- / .-- --- .-. .-.. -.. /(hello world)
- The script currently supports letters and spaces.
- Numbers, punctuation, and Morse-to-text decoding are not implemented yet.