def edit_ini(ini_filepath=None):
if ini_filepath == None:<EOL><INDENT>ini_filepath = get_ini_filepath()<EOL><DEDENT>try:<EOL><INDENT>click.edit(filename=ini_filepath)<EOL><DEDENT>except click.exceptions.ClickException as err:<EOL><INDENT>print("<STR_LIT>" % err)<EOL>webbrowser.open(ini_filepath)<EOL><DEDENT>
Open the .ini file with the operating system’s associated editor.