Open the .ini file with the operating system’s associated editor.

def edit_ini(ini_filepath=None):
    """
    Open the .ini file with the operating system’s associated editor.
    """
    if ini_filepath == None:
        ini_filepath = get_ini_filepath()

    try:
        click.edit(filename=ini_filepath)
    except click.exceptions.ClickException as err:
        print("Click err: %s" % err)
        webbrowser.open(ini_filepath)