Files
ChatBot/sqlLite/get.py
florianuhlig 4f663eb8a5 First look
2025-10-02 23:36:57 +02:00

10 lines
229 B
Python

import sqlite3
from . import db_name
def get_user():
conn = sqlite3.connect(db_name)
cursor = conn.cursor()
cursor.execute('select * from T_USERS')
rows = cursor.fetchall()
for row in rows:
print(row)