python:argparse

差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

両方とも前のリビジョン 前のリビジョン
次のリビジョン
前のリビジョン
次のリビジョン両方とも次のリビジョン
python:argparse [2020/02/01 20:04] – [サンプル] ともやんpython:argparse [2020/02/02 10:08] ともやん
行 1: 行 1:
-====== argparse ======+====== argparse - コマンドライン引数解析 ======
  
 ===== サンプル ===== ===== サンプル =====
行 41: 行 41:
   --exclude EXCLUDE [EXCLUDE ...]   --exclude EXCLUDE [EXCLUDE ...]
                         exclude directory or file.                         exclude directory or file.
 +
 +$ python args_sample.py / --exclude .git
 +target_dir: /
 +exclude_dirs: ['.git']
  
 </code> </code>
  • python/argparse.txt
  • 最終更新: 2020/09/11 16:30
  • by ともやん