374 B
374 B
Morse Code
Encodes or decodes a message using Morse code.
Source library: unicodedata (Python standard library)
Parameters
- text: The message to encode or decode.
- mode: Whether to encode or decode the message.
- language: The language of the Morse code to use.
- dot: The character to use for a dot.
- dash: The character to use for a dash.