Opening a SQLite database in readonly mode

Paul Moore p.f.moore at gmail.com
Mon Jul 6 08:05:02 EDT 2009


The SQLite documentation mentions a flag, SQLITE_OPEN_READONLY, to
open a database read only. I can't find any equivalent documented in
the Python standard library documentation for the sqlite3 module (or,
for that matter, on the pysqlite library's website).

Is it possible to open a sqlite database in readonly mode, in Python?

Thanks,
Paul.



More information about the Python-list mailing list