pypocquant.lib.settings
¶
Module Contents¶
Functions¶
Return a dictionary containing the default settings. |
|
|
Loads settings from file and returns them in a dictionary. |
|
Save settings from a dictionary to file. |
|
Loads list from file and returns them as list. |
-
pypocquant.lib.settings.
default_settings
()¶ Return a dictionary containing the default settings.
-
pypocquant.lib.settings.
load_settings
(filename)¶ Loads settings from file and returns them in a dictionary.
- Parameters
filename (str) – Name of the settings file.
- Returns
settings_dictionary
- Return type
dict
-
pypocquant.lib.settings.
save_settings
(settings_dictionary, filename)¶ Save settings from a dictionary to file.
- Parameters
settings_dictionary – Settings dictionary
filename (str) – Filename of the settings file to be saved.
-
pypocquant.lib.settings.
load_list_file
(filename)¶ Loads list from file and returns them as list.
- Parameters
filename (str) – Filename of the settings file to be loaded.
- Returns
file_content_list
- Return type
list