sqlite3
# Create db, table, insert into table, select from table import sqlite3 sql_con = sqlite3.connect('db/test.db') # If db doesn't exist…
# Create db, table, insert into table, select from table import sqlite3 sql_con = sqlite3.connect('db/test.db') # If db doesn't exist…
from datetime import datetime now = datetime.now() print(now.strftime("%a")) # Sun print(now.strftime("%A")) # Sunday print(now.strftime("%w")) # 0, 0=sunday, 1=Monday... print(now.strftime("%d")) #…