python argparse ignore unrecognized arguments code example
Example: python argparse ignore unrecognized arguments
# replace
args = parser.parse_args()
# with
args, unknown = parser.parse_known_args()
# replace
args = parser.parse_args()
# with
args, unknown = parser.parse_known_args()