Hi all,
The Sofistik Viewer.exe generates an SQLite database, which is easily readable in Python by simply typing basic SQLite queries.
How can I convert a .cdb file to an .sqlite file that contains all the data and results?
def cdb2sqlite(cdb_file_path):
…
# runs subprocess what generates and saves a project.sql file that must contain all the same data and results as the .sqlite file generated by Viewer.exe.
import os
cwd = os.getcwd()
cdb_file_path = os.path.join(cwd, ‘project.cdb’)
cdb2sqlite(cdb_file_path)