parser.disable_interspersed_args()
parser.add_option('-v', action='store_true', dest='verbose')
options, args = parser.parse_args()
print('Options: %s args: %s' % (options, args))
OptionParser - supporting any option at the end of the command line