list = GetProfileSection(section, iniName )

Retrieves all entries from a section in an INI file.


section : string

The section in the INI file to retrieve a entries for.

iniName=None : string

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


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

Win32 API References

Search for GetProfileSection at msdn, google or google groups.

Return Value

The return value is a list of strings.