Answer the question
In order to leave comments, you need to log in
TelegramBOT Python encoding how to fix?
How to fix encoding in python/telebot?
The code:
elif message.text == "Вкл.":
comma = os.popen('ping 8.8.8.8').read()
bot.send_message(message.chat.id, str(comma))
ЋЎ¬Ґ Ї ЄҐв ¬Ё б 8.8.8.8 Ї® б 32 Ў ©в ¬Ё ¤ ле:
ЋвўҐв ®в 8.8.8.8: зЁб«® Ў ©в=32 ўаҐ¬п=26¬б TTL=120
ЋвўҐв ®в 8.8.8.8: зЁб«® Ў ©в=32 ўаҐ¬п=26¬б TTL=120
ЋвўҐв ®в 8.8.8.8: зЁб«® Ў ©в=32 ўаҐ¬п=27¬б TTL=120
ЋвўҐв ®в 8.8.8.8: зЁб«® Ў ©в=32 ўаҐ¬п=26¬б TTL=120
‘в вЁбвЁЄ Ping ¤«п 8.8.8.8:
Џ ЄҐв®ў: ®вЇа ў«Ґ® = 4, Ї®«г祮 = 4, Ї®вҐап® = 0
(0% Ї®вҐам)
ЏаЁЎ«Ё§ЁвҐ«м®Ґ ўаҐ¬п ЇаЁҐ¬ -ЇҐаҐ¤ зЁ ў ¬б:
ЊЁЁ¬ «м®Ґ = 26¬бҐЄ, Њ ЄбЁ¬ «м®Ґ = 27 ¬бҐЄ, ‘।ҐҐ = 26 ¬бҐЄ
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question