Skip to content

Required param default error #19

Closed Answered by ko1nksm
adiun asked this question in Q&A
Jan 22, 2021 · 3 comments · 2 replies
Discussion options

You must be logged in to vote

I agree with the following opinions.

https://docs.python.org/3/library/optparse.html#what-are-options-for

What are options for?

Options are used to provide extra information to tune or customize the execution of a program. In case it wasn’t clear, options are usually optional. A program should be able to run just fine with no options whatsoever. (Pick a random program from the Unix or GNU toolsets. Can it run without any options at all and still make sense? The main exceptions are find, tar, and dd—all of which are mutant oddballs that have been rightly criticized for their non-standard syntax and confusing interfaces.)

Lots of people want their programs to have “required options”. Think…

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@shpoont
Comment options

@foomin10
Comment options

Answer selected by ko1nksm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants
Converted from issue

This discussion was converted from issue #13 on January 30, 2021 19:22.