Skip to content
Snippets Groups Projects
Commit 713eedd5 authored by Duncan Mortimer's avatar Duncan Mortimer
Browse files

Try and sell argparse even for simple scripts

parent 7a5dfcb0
No related branches found
No related tags found
No related merge requests found
......@@ -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>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment