generating XML from config using python
<p>Please tell me how I can get out of *.conf [section name] and the value of the first parameter (after the name of the section) and on their basis to create a XML file using python? I have a very simple config file, but each section is more than one option. Thank you in advance.</p>

<p>In the standard library you can find <a href="https://docs.python.org/3/library/configparser.html" rel="nofollow">configparser</a> which helps you read such files and <a href="https://docs.python.org/3/library/xml.etree.elementtree.html" rel="nofollow">xml.etree.ElementTree</a> which helps you bould valid XML files (see sections about modifying and building).</p>

python xml