Skip to content

Welcome to the Morse Code Converter! This repository contains a Python application that converts text to Morse code and vice versa. It's a simple and effective tool for anyone interested in learning or using Morse code.

License

Notifications You must be signed in to change notification settings

bassslapper3390/morsecode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

Morse Code Converter

Overview

Welcome to the Morse Code Converter! This repository contains a Python application that converts text to Morse code and vice versa. It's a simple and effective tool for anyone interested in learning or using Morse code.

Features

  • Convert plain text to Morse code
  • Convert Morse code back to plain text
  • Supports letters (A-Z), numbers (0-9), and basic punctuation
  • User-friendly command-line interface

Installation

To get started, clone the repository to your local machine:

git clone https://github.com/bassslapper3390/morsecode.git

Navigate to the project directory:

cd morsecode

Make sure you have Python installed on your machine. This application is compatible with Python 3.x.

Usage

Run the main Python script to start the converter:

python morsecode.py

Follow the on-screen prompts to convert text to Morse code or Morse code to text.

Examples

Text to Morse Code

Input: Hello World
Output: .... . .-.. .-.. --- / .-- --- .-. .-.. -..

Text to Morse Code

Morse Code to Text

Input: .... . .-.. .-.. --- / .-- --- .-. .-.. -..
Output: HELLO WORLD

Morse Code to Text

Encrypt the Text

Input: HELLO WORLD
Key: 3
Output: KHOOR ZRUOG

Encrypt the Text

Decrypt the Text

Input: KHOOR ZRUOG
Key: 3
Output: HELLO WORLD

Decrypt the Text

Contributing

Contributions are welcome! Feel free to open an issue or submit a pull request. For major changes, please open an issue first to discuss what you would like to change.

License

This project is licensed under the MIT License. See the LICENSE file for more details.

Contact

If you have any questions or suggestions, feel free to reach out!


About

Welcome to the Morse Code Converter! This repository contains a Python application that converts text to Morse code and vice versa. It's a simple and effective tool for anyone interested in learning or using Morse code.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages