Загрузка...

There is a problem with the Telegram bot

Thread in Python created by lockdown6 Apr 24, 2020. 113 views

  1. lockdown6
    lockdown6 Topic starter Apr 24, 2020 4 Apr 1, 2018
    Python
    f = open("****.txt", "r+")
    print(*f)
    f.readline()
    a = randint(10000000, 99999999)
    f.write(" ")
    f.write(str(a))
    f.write(" ")
    print(*f)
    f.readlines()
    f.close()


    Ребят,что нужно написать в bot.send_message(message.chat.id,) ,чтобы переменная писалась пользователю?
     
  2. oriole
    oriole Apr 24, 2020 был(а) давно
Top
Loading...