def METHOD_NAME(zip_path, score_resource, python_score_code):
    """Convert the Python score code used in SAS Viya 3.5 into score code usable in
    SAS Viya 4.
    The two main adjustments are including an 'import settings' statement and
    replacing score resource access calls that reference an explicit path with
    'settings.pickle_path' + <score_resource>.
    Parameters
    ----------
    zip_path : string or Path object
        Location of files in the SAS Viya 3.5 model zip.
    score_resource : list
        File name(s) of the score resource file.
    python_score_code : string
        File name of the Python score code file.
    """
    # Read entire text of score code
    with open(Path(zip_path) / python_score_code, "r") as pyFile:
        score_code = pyFile.read()
    # Add the import settings line to the score code
    score_code = "import settings\n" + score_code
    # Search for all directory paths in score code that contain the score_resource
    old_string = re.findall(r"['\"]\/.*?\.[\w:]+['\"]", score_code)
    parsed_old_string = []
    new_string = []
    for resource in score_resource:
        string_found = [s for s in old_string if resource in s]
        parsed_old_string = parsed_old_string + string_found
        if string_found:
            new_string.append(f"settings.pickle_path + '{resource}'")
    for old, new in zip(parsed_old_string, new_string):
        score_code = score_code.replace(str(old), str(new))
    # Write new text of score code to file
    with open(Path(zip_path) / python_score_code, "w") as pyFile:
        pyFile.write(score_code)
        print(f"{python_score_code} has been modified and rewritten for SAS Viya 4")