Appendix. Using argparse
Often, getting the right data into your program is a real chore. The For instance, chapter 1 discusses a very flexible program that can extend warm salutations to an optionally named entity, such as the “World” or “Universe”: |
$ ./hello.py ① Hello, World! $ ./hello.py --name ...
Get Tiny Python Projects now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.