def script():
parser = argparse.ArgumentParser(description="<STR_LIT>")<EOL>parser.add_argument("<STR_LIT>", "<STR_LIT>", help="<STR_LIT>", action="<STR_LIT:store_true>")<EOL>parser.add_argument("<STR_LIT:file>", nargs="<STR_LIT:+>", help="<STR_LIT>")<EOL>args = parser.parse_args()<EOL>for filename in args.file:<EOL><INDENT>if isinstance(filename, bytes):<EOL><INDENT>filename = filename.decode(sys.getfilesystemencoding())<EOL><DEDENT>line = "<STR_LIT>".format(os.path.basename(filename))<EOL>print("<STR_LIT:*>" * len(line))<EOL>print(line)<EOL>print("<STR_LIT:*>" * len(line))<EOL>audioFile = taglib.File(filename)<EOL>tags = audioFile.tags<EOL>if len(tags) > <NUM_LIT:0>:<EOL><INDENT>maxKeyLen = max(len(key) for key in tags.keys())<EOL>for key, values in tags.items():<EOL><INDENT>for value in values:<EOL><INDENT>print(('<STR_LIT>' + str(maxKeyLen) + '<STR_LIT>').format(key, value))<EOL><DEDENT><DEDENT><DEDENT>if len(audioFile.unsupported) > <NUM_LIT:0>:<EOL><INDENT>print('<STR_LIT>' + "<STR_LIT>".join(audioFile.unsupported))<EOL>if sys.version_info[<NUM_LIT:0>] == <NUM_LIT:2>:<EOL><INDENT>inputFunction = raw_input<EOL><DEDENT>else:<EOL><INDENT>inputFunction = input<EOL><DEDENT>if not args.batch and inputFunction("<STR_LIT>").lower() in ["<STR_LIT:y>", "<STR_LIT:yes>"]:<EOL><INDENT>audioFile.removeUnsupportedProperties(audioFile.unsupported)<EOL>audioFile.save()<EOL><DEDENT><DEDENT><DEDENT>
Run the command-line script.