Pythonããã使ã人ã«ã¯ããç¥ã£ã¦ã人ãå¤ãã®ã§ãããdocoptã¨ãã便å©ã©ã¤ãã©ãªãããã¾ãã docoptã¯argparseãoptparseã®ãããªã³ãã³ãã©ã¤ã³å¼æ°ããã¼ã¹ããã©ã¤ãã©ãªãªã®ã§ããããã®çºæ³ãã³ãã³ãã¹ã®åµãªã®ã§ãã ä¾ãã°Pythonæ¨æºã®argparseã ã¨ãargparseã®APIãçµã¿åããã¦ãã¼ãµãçµã¿ç«ã¦ãããã§ããããã¨ãã¼ãµã¨ä¸ç·ã«ãã«ããä½ã£ã¦ããã¦ã"program --help"ãªã©ã¨ããã¨èªåçæããããã«ãã表示ãã¦ãããããã«ãªãã¾ãã ãããããã®APIãè¦ããã®ã大å¤ã§ãæ¯åããã¥ã¡ã³ããèªã¾ãªãã¨å¿ãã¡ããããã§ãã import argparse parser = argparse.ArgumentParser(description='Process some integers.') parser.add_argument
{{#tags}}- {{label}}
{{/tags}}