On Tue, Feb 19, 2013 at 3:51 PM, Miki Tebeka <miki....@gmail.com> wrote:Why not:
parser.add_argument('--spam', default=os.environ.get('SPAM', 7))Mainly because then you can't swap in different dictionaries to resolve SPAM (when specifying "env" to ArgumentParser).Can you elaborate on this requirement?