1

Is there a way to share an in-memory sqlite database between two different python processes? I have looked around and while it can be done within the same process (using a connection string like sqlite3.connect("file:memdb1?mode=memory&cache=shared", uri=True) for example), it is not clear to me whether (and how) this is possible between processes.

I am using Windows and Python 3.8. Btw for linux it looks a possible work-around is using a memory mounted drive, see this answer.

Aenaon
  • 3,169
  • 4
  • 32
  • 60

0 Answers0