with open(path) as f:
reader = csv.reader(f)
for row in reader:
_, created = Teacher.objects.get_or_create(
first_name=row[0],
last_name=row[1],
middle_name=row[2],
)
random.choice()
— https://docs.python.org/3/library/random.html?high... dp.register_message_handler(secret_command, IDFilter(user_id=admin_id), commands="abracadabra")
# sendDocument
doc = open('/tmp/file.txt', 'rb')
tb.send_document(chat_id, doc)
tb.send_document(chat_id, "FILEID")