Answers for "python argparse ignore unrecognized arguments"

1

python argparse ignore unrecognized arguments

# replace
args = parser.parse_args()
# with
args, unknown = parser.parse_known_args()
Posted by: Guest on May-06-2021

Code answers related to "python argparse ignore unrecognized arguments"

Python Answers by Framework

Browse Popular Code Answers by Language