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.
- 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
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.
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.
Input: Hello World
Output: .... . .-.. .-.. --- / .-- --- .-. .-.. -..
Input: .... . .-.. .-.. --- / .-- --- .-. .-.. -..
Output: HELLO WORLD
Input: HELLO WORLD
Key: 3
Output: KHOOR ZRUOG
Input: KHOOR ZRUOG
Key: 3
Output: HELLO WORLD
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.
This project is licensed under the MIT License. See the LICENSE file for more details.
If you have any questions or suggestions, feel free to reach out!