[docs] [issue37726] Tutorial should not recommend getopt
report at bugs.python.org
Wed Jul 31 07:09:29 EDT 2019
mental <m3nta1 at yahoo.com> added the comment:
It's nice to see the newcomer friendly tag being encouraged :thumbsup:
I'm submitting a PR for a doc change (I'd appreciate a review :D).
I've replaced any mention of getopt in the tutorial section with the argparse module. Additionally I have added several small examples of usage promoting its usability.
Should the section recommend using other dedicated packages for parsing: fire, click, docopt? urllib.request does this for the requests package.
Python tracker <report at bugs.python.org>
More information about the docs