initial commit

This commit is contained in:
2025-08-07 21:56:29 -05:00
commit dee4702e08
7 changed files with 223 additions and 0 deletions

14
hello.py Normal file
View File

@@ -0,0 +1,14 @@
import sqlite_utils
#Create (or open) the database
db = sqlite_utils.Database("dbot.db")
#Create the 'users' table with some example columns
#primary_key=True means 'id' will be the unique identifier
db["users"].create({
"id": int,
"username": str,
"balance": int
}, pk="id", if_not_exists=True)
print("Database and 'users' table created successfully!")