How to make required arguments for argparse optional if a specific argument is passed?

后端 未结 0 1401
感动是毒
感动是毒 2021-01-05 23:07

I would like to know how one would go about creating arguments in Python\'s argparse that are required unless an optional argument is passed (essentially the opposite proble

相关标签:
回答
  • 消灭零回复
提交回复
热议问题