It would be nice if Values were to behave like a real dict.
You cannot use it as such, "%(whatever)s" fails because
Values has not __getitem__, and dict() fails because
it's not a sequence.
Logged In: YES
Why can't you just use vars()? E.g.
(options, args) = parser.parse_args()
print "you supplied --foo=%(foo)s, --bar=%(bar)s" \
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.