Files
test_lazygit/translit_ru_on_us.py
alexy 58aa43e5a1 initial commit: add Arch Linux scripts
Add a collection of scripts used on Arch Linux for system automation
and maintenance.
2025-06-13 23:42:07 +03:00

13 lines
320 B
Python
Executable File

# /// script
# requires-python = ">=3.13"
# dependencies = [
# "transliterate"
# ]
# ///
from transliterate import translit
while True:
ru_text = input("Введите текст на русском: ")
us_text = translit(ru_text, language_code='ru', reversed=True)
print(f"***\n\n{us_text}\n\n***")