Determines if a settings file exists. If so a boolean True is returned. If either a filename or a path is not included, then the appropriate default will be used. :param filename: Filename to check :type filename: (str) :param path: Path to the file. Defaults to a spe
(filename=None, path=None)
| 23060 | |
| 23061 | |
| 23062 | def user_settings_file_exists(filename=None, path=None): |
| 23063 | """ |
| 23064 | Determines if a settings file exists. If so a boolean True is returned. |
| 23065 | If either a filename or a path is not included, then the appropriate default |
| 23066 | will be used. |
| 23067 | |
| 23068 | :param filename: Filename to check |
| 23069 | :type filename: (str) |
| 23070 | :param path: Path to the file. Defaults to a specific folder depending on the operating system |
| 23071 | :type path: (str) |
| 23072 | :return: True if the file exists |
| 23073 | :rtype: (bool) |
| 23074 | """ |
| 23075 | settings = UserSettings._default_for_function_interface |
| 23076 | return settings.exists(filename=filename, path=path) |
| 23077 | |
| 23078 | |
| 23079 | def user_settings_write_new_dictionary(settings_dict): |