win32api.WriteProfileVal

WriteProfileVal(section, entry, value, iniName)

Writes a value to a Windows INI file.

Parameters

section : string

The section in the INI file to write to.

entry : string

The entry within the section in the INI file to write to.

value : int/string

The value to write.

iniName=None : string

The name of the INI file. If None, the system INI file is used.

Comments

This function is obsolete, applications should use the registry instead.

Win32 API References

Search for WritePrivateProfileString at msdn, google or google groups.

Search for WriteProfileString at msdn, google or google groups.