The easy (and nice) way to do CLI apps in Python
Thomas Stringer

Please, noooo! By the goddess, stop parsing arguments by hand and do not suggest this to other developers, as what you’re describing is not the easy way to go!

Instead, please read and understand the great argparser module. It is meant to do all these important CLI things for you.