Posted By

ndegruchy on 07/06/06


Tagged

textmate python optparse


Versions (?)

Who likes this?

3 people have marked this snippet as a favorite

ndegruchy
anayhk
fukami


OptParse Option Parsing


 / Published in: Python
 

  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  

You need to login to post a comment.