API¶
vbini Module¶
Ini Handler main Ini object
-
class
ini_handler.vbini.Ini(filename, directory)¶ Representation of the ini file.
Stores all settings and sections; handles all loading and saving.
-
directory¶ The path to which the .ini file will be written to (no filename).
-
filename¶ The .ini filename (no extension).
-
filepath¶ The directory and filename combined.
-
get_setting_section(key)¶ Returns the section the setting is assigned to.
- Args:
- key(str): setting key
-
load()¶ Read the .ini file.
-
save()¶ Write the .ini file.
-
set_setting_section(key, section)¶ Sets the section the setting is assigned to.
- Args:
- key(str): setting key section(str): section name
-
sections module¶
Ini Handler Sections object