How to handle multiple arguments in python for example. I want to use -i for input, -o for output, -v for version(optional). First of all how will I define function for that.
Example format:
Usage: %s -i <inputFileName> -o <outputFileName> [-f <version>]