parser = optparse.OptionParser()
try:
(options, (first_posarg, second_posarg, )) = parser.parse_args()
except ValueError:
parser.error("Two positional arguments are required.")
Saturday, February 20, 2010
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment