An open API service indexing awesome lists of open source software.

https://github.com/david17c/text-morsecode-conv

A simple morsecode translation script that works bothways.
https://github.com/david17c/text-morsecode-conv

morse-code-translator morsecode python script

Last synced: 15 days ago
JSON representation

A simple morsecode translation script that works bothways.

Awesome Lists containing this project

README

          

# Text-MorseCode-Conv

A basic Morse code translation script that works both ways.

## Usage examples

**Encode text to Morse:**

```bash
python main.py encode "David17c"
```

**Decode Morse to text:**

```bash
python main.py decode "-.. .- ...- .. -.. .---- --... -.-."
```

**Encode from a `input.txt`:**

```bash
python main.py encode input.txt
```

**Decode and save to a `output.txt`:**

```bash
python main.py decode morse.txt output.txt
```