Mercurial > hg > nsaunier > traffic-intelligence
view python/delete-object-tables.py @ 286:fa95796a76b3
simplified indicators (only non-measured values, whether measurable or not)
| author | Nicolas Saunier <nicolas.saunier@polymtl.ca> |
|---|---|
| date | Sun, 27 Jan 2013 00:22:55 -0500 |
| parents | 584613399513 |
| children |
line wrap: on
line source
#! /usr/bin/env python import sys,getopt import utils import storage options, args = getopt.getopt(sys.argv[1:], 'h',['help']) options = dict(options) if '--help' in options.keys() or '-h' in options.keys() or len(args) == 0: print('Usage: {0} --help|-h <database-filename.sqlite>'.format(sys.argv[0])) sys.exit() storage.removeObjectsFromSqlite(args[0])
