Registry Mirror
搜索
Skip to content
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Files
Expand file tree
master
Breadcrumbs
Using-python-create-a-Database
/
test2.py
Copy path
Blame
More file actions
Blame
More file actions
Latest commit
History
History
History
10 lines (8 loc) · 306 Bytes
master
Breadcrumbs
Using-python-create-a-Database
/
test2.py
Copy path
Top
File metadata and controls
Code
Blame
10 lines (8 loc) · 306 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
from pmydb import Engine
from pmydb.core import FieldKey, FieldType
from pmydb.core.field import Field
e = Engine()
print(e.get_database())
import re
pat=re.compile(r'(INSERT|insert) (INTO|into) (.*) (\(.*\)) (VALUES|values) (\(.*\))')
print(pat.findall("INSERT INTO Persons ('dsd') VALUES ('fgg','d')"))
You can’t perform that action at this time.