def execute(heap_dump_name): destination_path = '/Users/elex/Documents/dump' # change directory path to your favorites grab_dump_and_convert(destination_path, heap_dump_name)