Академический Документы
Профессиональный Документы
Культура Документы
I must be looking in all the wrong places, but I haven't found many usable examples online of storing BLOBs in a SQLite
database using Python. At least, not something that works with current versions of Python (2.5), pysqlite(2.3.2) and
SQLite (the version that comes installed with Python 2.5). Overall, there doesn't seem to be much good examples of
pysqliteanywhere.
So here's an example I cooked up after consulting with several sources and experimenting a little:
http://eli.thegreenplace.net/2009/05/29/storing-blobs-in-a-sqlite-db-with-pythonpysqlite 1/3
4/26/2017 Storing BLOBs in a SQLite DB with Python/pysqlite - Eli Bendersky's website
cur.close()
http://eli.thegreenplace.net/2009/05/29/storing-blobs-in-a-sqlite-db-with-pythonpysqlite 2/3
4/26/2017 Storing BLOBs in a SQLite DB with Python/pysqlite - Eli Bendersky's website
con.close()
Comments
comments powered by Disqus (http://disqus.com)
http://eli.thegreenplace.net/2009/05/29/storing-blobs-in-a-sqlite-db-with-pythonpysqlite 3/3