How to remove parsed options from sys.argv so that a second parser can work correctly?

Viewed 19

Hi my python program has two parsers that both want to parse the sys.argv arguments. The second parser complains about the unrecognizable argument because only the first parser knows how to parse.

Is there a way to fix this issue? For example, is there a way to remove the parsed options from sys.argv after the first parsing?

0 Answers
Related