Python Sqlite3 DB c.exec data LIKE "..." header advice -


#!/usr/bin/python  import os import os.path import sqlite3 import argparse ...  ... c = conn.cursor()  c.execute('select hash, data blobs data "oggs%"') ...  ... conn.close()  ... 

this code extract data header of oggs% sqlite database (obviously). question how make work various other file types , how headers of various more abstract files , insert them there? i've tried few things hex strings didn't work out. complete newbie when comes python clear examples appreciated.


Comments

Popular posts from this blog

c# - Validate object ID from GET to POST -

node.js - Custom Model Validator SailsJS -

php - Find a regex to take part of Email -