def main():
    "Extract the command-line arguments and run the packer."
    try:
        pack(sys.argv[1])
    except (IndexError, AssertionError):
        print('Usage: {} <filename>'.format(os.path.basename(sys.argv[0])))
Extract the command-line arguments and run the packer.
recipes/Python/577485_Self_Extracting_Archiver/recipe-577485.py