first commit
This commit is contained in:
24
bot.0.1/other_packages/test.py
Executable file
24
bot.0.1/other_packages/test.py
Executable file
@@ -0,0 +1,24 @@
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
"""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"""
|
||||
Reference in New Issue
Block a user