Files
Tg-bot/bot.0.1/other_packages/test.py
2024-10-29 16:09:13 +03:00

25 lines
582 B
Python
Executable File

"""import json
print(json.load(open("censorship.json")))"""
"""import string
stroka = "&&&&l?.,o$$&&&x"
print(stroka.translate(str.maketrans("x", "l", string.punctuation)))
# x - что менять l - на что менять string.punctuation - что вовсе удалить
# // string.punctuation - это вся пунктуация, то есть удаляется вся пунктуация"""
"""import time
print(time.time())"""
"""import datetime
print(datetime.datetime.now().strftime('%Y-%m-%d %H:%M')) # 2022-04-06 19:34"""