model of python script with parsing of command-line arguments.