English
Open in Telegram

ThreadСпасибо, попробую

3 messages · –
K
Спасибо, попробую
  1. I
    line=cur.execute("""SELECT * FROM users WHERE id=?""", (id_chat,)).fetchone() # Проверка на наличие в базе if line == None: # так писать не стоил, лучше if not line: cur.execute("""INSERT INTO users (id_users) VALUES (?)""", (id_chat,)) con.commit()
    1. K
      Все работает, спасибо
ССообщество Python ПрограммистовСообщество Python Программистов@python_scripts · group · Tech
4 169members43writing in 30 days
Venue feed Open in Telegram

An open public feed from the search index ChatCrawler — “Google for public Telegram”; refreshed as the venue is crawled. Times are UTC.

Public content only, official Telegram API. About · FAQ · Index limits · Remove a page · Catalog · Search · How we count