log.info('Time to update %s entries : %s' % (len(results), time.time() - start)
    )
return results
if __name__ == '__main__':
    logging.basicConfig(format=
        '%(asctime)s %(levelname)-8s %(module)s       %(funcName)s %(message)s'
        , datefmt='%H:%M:%S', stream=sys.stderr)
log = logging.getLogger('')
log.setLevel(logging.DEBUG)
opts, args = getArgs()
sys.exit(update(opts))
running python script through shell_plus from command line