Python: parse command arguments with getopt module example