def process_arguments(args):

    parser = argparse.ArgumentParser(description='HPSS beat-tracking example')

    parser.add_argument('input_file',
                        action='store',
                        help='path to the input file (wav, mp3, etc)')

    parser.add_argument('output_file',
                        action='store',
                        help='path to the output file (csv of beat times)')

    return vars(parser.parse_args(args))
Argparse function to get the program parameters
dataset/ETHPy150Open bmcfee/librosa/examples/hpss_beats.py/process_arguments