Good day to all!
What we have:
- Python 2.7
- Script to create a database
What do you need:
- I can create a new database (sqlite3) directly in the Python code, I specify it, I can connect to the ones created via
sqlite3.connect()
, and the Internet is full of similar examples. - Run the existing script in it, which will create all the labels, etc. etc. The problem with the script is the following: in all examples of working with the database that I encountered using
cursor.execute
(Query text), theexecute
method does not allow to execute batch queries, i.e. one request is one action, the script does not run
Well, Python experts, I hope for your help.
ZY Thanks in advance for responding!