Skip to content Skip to sidebar Skip to footer
Showing posts with the label Configparser

How To Write Ini-files Without Sections?

I need to create a file in the following format: option1 = 99 option2 = 34 do_it = True ... When I… Read more How To Write Ini-files Without Sections?

How Can I Remove The White Characters From Configuration File?

I would like to modify the samba configuration file using python. This is my code from ConfigParser… Read more How Can I Remove The White Characters From Configuration File?

Configparser With Unicode Items

my troubles with ConfigParser continue. It seems it doesn't support Unicode very well. The conf… Read more Configparser With Unicode Items

Configparser Getting Value From Ini File With Section And Subsection As Shown Below

I have a following type of INI file [section1][subsection1] port=989 [section1][subsection2] someth… Read more Configparser Getting Value From Ini File With Section And Subsection As Shown Below

Configparser And Section With Values Without Keys

I'm just wondering. Is there any chance to create section in *.ini file to store only values wi… Read more Configparser And Section With Values Without Keys