Tin mới
argparse — Parser for command-line options, arguments and subcommands
Migrating optparse code to argparse
Command-line interface libraries
optparse: Command-line option parsing library.
getopt: Portable parser for command line options; support both short and long option names.
Combining Positional and Optional arguments¶
We’ve brought back a positional argument, hence the complaint.
gettext: Multilingual internationalization services.
The output of the argparse module such as its help text and error messages are all made translatable using the gettext module. This allows applications to easily localize messages produced by argparse. See also Internati