The INI file format has historical origins from early Windows OS. The module to parse these files is configparser. For additional details on the INI file, you can refer to this Wikipedia article for numerous useful links: http://en.wikipedia.org/wiki/INI_file.
An INI file has sections and properties within each section. Our sample main program has three sections: the table configuration, player configuration, and overall simulation data gathering. For this simulation, we will use an INI file that is similar to the following example:
; Default casino rules [table] dealer= Hit17 split= NoResplitAces decks= 6 limit= 50 payout= (3,2) ; Player with SomeStrategy ; Need to compare with OtherStrategy [player] play= SomeStrategy betting= Flat max_rounds= 100 init_stake= 50 [simulator] samples...