Ausgabe der neuen DB Einträge

This commit is contained in:
hubobel 2019-11-25 20:30:40 +01:00
parent 1e3a99b5d2
commit 0124238493
14 changed files with 252 additions and 0 deletions

15
testerrrr.py Normal file
View file

@ -0,0 +1,15 @@
import bs4 as bs
import requests
import pymysql
connection = pymysql.connect(db="hubobel",
user="admin",
passwd="polier2003",
host='192.168.4.1',charset='utf8')
cursor = connection.cursor()
try:
cursor.execute("""CREATE TABLE Filosofie (
Nr INTEGER, Filosofie TEXT)""")
except:
print('Error')
None