OptParse Option Parsing


/ Published in: Python
Save to your folder(s)



Copy this code and paste it in your HTML
  1. from optparse import OptionParser
  2.  
  3. Usage = "%s" % "untitled.py"
  4. Parser = OptionParser(Usage)
  5. Parser.add_option("", dest="", help = """.""")
  6. (Options, Args) = Parser.parse_args()

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.