Suppose that I have a SQLite database file created using XOJO. Can that same file be accessed or maybe even modified from a python program? I would take care, of course, that the file is open by one server at a time; at the moment I am not sure how to assure that but the first question is whether or not it can be done!
Many thanks
Jim Wagner, Oregon Research Electronics
I was thinking of same machine or maybe (big maybe) duplicate files propagated by DropBox.
Here is the situation. I use KiCad, which is a circuit board layout “IDE”. It maintains a component data base which can be accessed via python helper apps. The code for those helper apps IS available so all of the necessary hooks seem to be laid out. I would like to write a helper app that copies particular data from the KiCad database to a more elaborate inventory management database that I am creating in XOJO. Now, there is an alternative route of having KiCad output its component information as a comma-separated-value text file, then parsing that file using XOJO into my own data base. I suspect the CSV route may be the more desirable since it is less sensitive to KiCad version changes. However, simply knowing that I have two possible routes reduces the stress level a lot.
That won’t help. This comes up regulalry on the SQLite Users Forum. SQLite uses file locks for concurrency, and Network File Systems are bad at this, see: