win32api.WriteProfileSection
list = WriteProfileSection(section, data
, iniName
)
Writes a complete section to an INI file or registry.
Parameters
section : string
The section in the INI file to be written.data : string
The data to write. Can be None to delete the section. Otherwise, must be string,
with each entry terminated with '\\0', followed by another terminating '\\0'iniName=None : string
Name of INI file. If specified, WritePrivateProfileSection will be called.
Comments
This function is obsolete, applications should use the registry instead.
Win32 API References
Search for WriteProfileSection at msdn, google or google groups.
Search for WritePrivateProfileSection at msdn, google or google groups.