def get_args():
    ' Get script argument '
    parser = argparse.ArgumentParser(description='Show current weather on polybar')
    parser.add_argument('log', nargs='?', help='Logging for debugging or not')
    parser.add_argument('-u', '--unit', default='metric', nargs='?', help='unit: metric or imperial. Default: metric')
    return parser.parse_args()
Get script argument
def get_args():
    '  '
    parser = argparse.ArgumentParser(description='Show current weather on polybar')
    parser.add_argument('log', nargs='?', help='Logging for debugging or not')
    parser.add_argument('-u', '--unit', default='metric', nargs='?', help='unit: metric or imperial. Default: metric')
    return parser.parse_args()