from optparse import OptionParser, OptionValueError import os # ã¹ã¯ãªããã®ä½¿ç¨æ¹æ³ã表ãæåå # ããã©ã«ãå¤ã¯"Usage: %prog [options]" # "usage: "ã§å§ã¾ããªãã¨èªåçã«"usage :"ã追å ããã # %progã¯ã¹ã¯ãªããåã§ç½®æ usage = "usage: %prog [options] keyword" # OptionPraserã®ã¤ã³ã¹ã¿ã³ã¹ãçæ parser = OptionParser(usage) # ãªãã·ã§ã³ã®è¿½å # action ãªãã·ã§ã³ãè¦ã¤ãã£ãå ´åã«è¡ãå¦ç # type ãªãã·ã§ã³ã®å # dest å¼æ°ã®ä¿åå # çç¥æã¯é·ããªãã·ã§ã³åãä½¿ç¨ # ãããçç¥ãªãçããªãã·ã§ã³å # default ãªãã·ã§ã³ã®ããã©ã«ãå¤ # çç¥ããå ´
{{#tags}}- {{label}}
{{/tags}}