Full width home advertisement

Post Page Advertisement [Top]

Приведу кусочек кода на Python:
sqlite_conn = sqlite3.connect('plugins/db.sqlite')
c = sqlite_conn.cursor()
c.execute('''
             SELECT * FROM sqlite_master where name='имя_таблицы'
          ''')
table_exists = False
for i in c:
     if i:
         table_exists = True
 



Комментариев нет:

Отправить комментарий

Bottom Ad [Post Page]

| Дизайн Colorlib