Inis have groups and values.
if you open an exisiting ini file with the ini object and write a new value, it will be appended.
if you write an existing value, the previous will be overwritten.
you may NOT use the same value twice within a group, as it doesn't make any sense.
You may check before you write, and see if the value is there. This would in fact let you know if you were about to overwrite a value that was previously there.
If you plan to treat ini files as strings (which is absolutely unnecessary) you could try the binary object instead.