From 713eedd54fe75a0cc8ea79644341ba88dcd506cd Mon Sep 17 00:00:00 2001 From: Duncan Mortimer <duncan.mortimer@ndcn.ox.ac.uk> Date: Sat, 17 Feb 2018 16:36:27 +0000 Subject: [PATCH] Try and sell argparse even for simple scripts --- getting_started/08_scripts.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/getting_started/08_scripts.md b/getting_started/08_scripts.md index e88da22..21bfaa1 100644 --- a/getting_started/08_scripts.md +++ b/getting_started/08_scripts.md @@ -124,7 +124,8 @@ print(sys.argv[0]) ``` For more sophisticated argument parsing you can use `argparse` - good documentation and examples of this can be found on the web. - +> argparse can automatically produce help text for the user, validate input etc +> so is strongly recommended. --- <a class="anchor" id="example-script"></a> -- GitLab