Author Clint Olsen
Recipients Christophe.Guillon, Clint Olsen, abacabadabacaba, amcnabb, andersk, bethard, cben, danielsh, davidben, drm, eric.araujo, eric.smith, gdb, gfxmonk, martin.panter, memeplex, nelhage, paul.j3, r.david.murray, skilletaudio, spaceone
Date 2016-09-15.07:48:09
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1473925689.65.0.255114020121.issue9334@psf.upfronthosting.co.za>
In-reply-to
Content
Thanks for the suggestion!

It seems to be extremely limited, unfortunately. I don't want option processing to cease once I hit this switch.

p=argparse.ArgumentParser()
p.add_argument('--subscipt_args', nargs='...')
#p.add_argument('pos',nargs='*')
p.add_argument('--verbose', action='store_true')

args = p.parse_args('--subscipt_args --foo --bar --baz -- --verbose '.split())

print(args)

usage: test.py [-h] [--subscipt_args ...] [--verbose]
test.py: error: unrecognized arguments: -- --verbose
History
Date User Action Args
2016-09-15 07:48:09Clint Olsensetrecipients: + Clint Olsen, cben, amcnabb, bethard, eric.smith, eric.araujo, r.david.murray, memeplex, gfxmonk, andersk, abacabadabacaba, gdb, nelhage, drm, davidben, martin.panter, paul.j3, skilletaudio, Christophe.Guillon, danielsh, spaceone
2016-09-15 07:48:09Clint Olsensetmessageid: <1473925689.65.0.255114020121.issue9334@psf.upfronthosting.co.za>
2016-09-15 07:48:09Clint Olsenlinkissue9334 messages
2016-09-15 07:48:09Clint Olsencreate