Mercurial > hg > nsaunier > traffic-intelligence
view python/delete-object-tables.py @ 273:e4d232f9fc39
-Win32 OpenCV 2.3.4
-Fix for the retrieval of win32 dependancies (WGet was too old and unable to
get file over https)
| author | Jeep-Tour@Jeep-Tour-PC |
|---|---|
| date | Wed, 14 Nov 2012 16:21:14 -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])
