Simple argparse example wanted: 1 argument, 3 results
Question
The documentation for the argparse python module, while excellent I'm sure, is too much for my tiny beginner brain to grasp right now. I don't need to do math on the command line or meddle with formatting lines on the screen or change option characters. All I want to do is "If arg is A, do this, if B do that, if none of the above show help and quit".
No correct solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow