Giter Club home page Giter Club logo

morsecode's Introduction

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!


morsecode's People

Contributors

bassslapper3390 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.