The Morse-Code-Converter is a Python application that allows users to convert text to Morse code and vice versa. This project aims to provide an easy-to-use interface for encoding and decoding messages in Morse code.
- Convert English text to Morse code.
- Convert Morse code to English text.
- User-friendly interface with Tkinter.
- Handles error input gracefully.
- Python 3.x installed on your system.
git clone https://github.com/your-username/Morse-Code-Converter.git
cd Morse-Code-Converter
This project requires the Tkinter library, which is usually included with Python. If not, you can install it using:
pip install python-tk
To start the Morse-Code-Converter application, run the following command:
python morse_code_converter.py
-
Text to Morse Code Conversion:
- Enter the text you want to convert to Morse code in the input field.
- Click the "Convert to Morse" button to see the Morse code representation.
-
Morse Code to Text Conversion:
- Enter the Morse code you want to convert to text in the input field (use spaces to separate Morse code characters and slashes
/
to separate words). - Click the "Convert to Text" button to see the English text representation.
- Enter the Morse code you want to convert to text in the input field (use spaces to separate Morse code characters and slashes
Input:
Hello World
Output:
.... . .-.. .-.. --- / .-- --- .-. .-.. -..
Input:
.... . .-.. .-.. --- / .-- --- .-. .-.. -..
Output:
HELLO WORLD
If you would like to contribute to this project, please fork the repository and create a pull request with your changes. Contributions are always welcome!
If you have any questions or suggestions, feel free to reach out to me at LinkedIn.