АМ
Size: a a a
АМ
A
@bot.message_handler(content_types=['document'])
def sms(message):
file_info = bot.get_file(message.document.file_id)
downloaded_file = bot.download_file(file_info.file_path)
texts = str(downloaded_file).decode('utf-8').split('\n')
t = ''
a = 1
for i in downloaded_file:
t += i.replace(f'{a}) ', '')
a += 1
bot.reply_to(message, t)
bot.polling(none_stop=True)
ダ
АМ
ダ
A
АМ
АМ
A
ダ
Н
Н
fm
A
fm
A
fm
ダ