FabijanC/morse-learn

A CLI tool for learning Morse code

★ 1Forks 0PythonGitHub ↗Compare
clieducationlearnmorsemorse-codequiz

README

Introduction

A CLI program for learning Morse code.

Requirements

The program requires Python 3 to be installed.

Installation

  1. Clone this repository via git clone.
  2. Install the dependencies with pip install -r requirements.txt
    • preferably create a virtual environment for this

Usage

letter-to-code mode (default)

$ ./morse.py
V ...-
Correct!

X ...
Wrong
X -..-
Correct!

# Ctrl+D to exit

audio-to-letter mode

$ ./morse.py --mode audio-to-letter
# sound playing
(Press Enter to replay) -.-.
Correct!

Options

Select between between various modes by providing a value to -m or --mode. By default, every prompt contains one symbol to convert. Modify this by specifying -n <NUMBER>.

See options with ./morse.py --help.

Contributors

FabijanC

Issues