Mercurial Hosting > traffic-intelligence
view scripts/delete-object-tables.py @ 340:1046b7346886
work in progress on storing indicator values
author | Nicolas Saunier <nicolas.saunier@polymtl.ca> |
---|---|
date | Wed, 19 Jun 2013 23:35:24 -0400 |
parents | 1d90e9080cb2 |
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])