I
I
Ilya Bugaets2020-06-18 16:21:36
Python
Ilya Bugaets, 2020-06-18 16:21:36

How to connect a db in two files?

I need to connect to one db and change the values ​​in the db in two files at the same time, but an error pops up and the db is closed sqlite3.OperationalError: database is locked
using the sqlite3 library

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
Konstantin Malyarov, 2020-06-18
@ilyabugaets

Tyk . Here it is clear why it displays a message about blocking. We are waiting for the code.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question