Skip to content

Conversation

@jenyyy4
Copy link

@jenyyy4 jenyyy4 commented Oct 7, 2025

Description

This PR introduces a command-line Text-to-Morse Code Converter built in Python.
It allows users to convert plain text into standardized Morse code directly from the terminal.

Features

  • Converts any text input into Morse code (A–Z, 0–9, and common punctuation)
  • Supports input from text strings or files
  • Handles unknown characters gracefully with a configurable placeholder
  • Option to remove or include / separators between words
  • Simple, dependency-free implementation (no external libraries required)
  • Clean CLI interface using Python’s argparse

To Run:

python3 morse_converter.py --text "Hello World"

Output for "Hello World": .... . .-.. .-.. --- / .-- --- .-. .-.. -..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant