Add a collection of scripts used on Arch Linux for system automation and maintenance.
13 lines
320 B
Python
Executable File
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***")
|