commit message from python script

This commit is contained in:
2023-04-11 17:21:48 +02:00
parent 5eb0811319
commit c0ae9cc93d
184 changed files with 3725 additions and 31 deletions

18
meine_test/sqllite_what.py Executable file
View File

@@ -0,0 +1,18 @@
import sqlite3
def create_db(name = str):
with sqlite3.connect(name) as con:
cursor = con.cursor()
cursor.execute(
"""
CREATE TABLE IF NOT EXISTS server (
id INT,
servername TEXT,
public_key TEXT,
adapter TEXT
)
""")
con.commit()
create_db("test")