Jared hace 2 años
padre
commit
a9e0e28fc1
Se han modificado 1 ficheros con 5 adiciones y 0 borrados
  1. 5 0
      dbtest.py

+ 5 - 0
dbtest.py

@@ -0,0 +1,5 @@
+import dataset
+db = dataset.connect('mysql://vincent:vipAsw0_69d@db.ptt.cx:3306/vincent?charset=utf8mb4')
+table=db['test']
+table.insert({'title':'test','content':'this is a test'})
+