Ausgabe der neuen DB Einträge
This commit is contained in:
parent
1e3a99b5d2
commit
0124238493
14 changed files with 252 additions and 0 deletions
15
testerrrr.py
Normal file
15
testerrrr.py
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue