<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Works like a charm. Thanks Etienne :-) <br>
</p>
<pre class="moz-signature" cols="72">Med venlig hilsen / Kind regards
Bo Victor Thomsen</pre>
<div class="moz-cite-prefix">Den 08-03-2021 kl. 10:55 skrev Etienne
Trimaille:<br>
</div>
<blockquote type="cite"
cite="mid:CAMtDFLL4fqMEH7dY10HtM2V9-GmxeW1nBX-DaAxBmn4EyegStA@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div>Hi,</div>
<div><br>
</div>
<div>configparser is designed to read INI file : <a
href="https://docs.python.org/3/library/configparser.html"
moz-do-not-send="true">https://docs.python.org/3/library/configparser.html</a></div>
<div>There are some helpers if needed in QGIS : <a
href="https://github.com/qgis/QGIS/blob/master/python/utils.py#L291"
moz-do-not-send="true">https://github.com/qgis/QGIS/blob/master/python/utils.py#L291</a>
to have the configparser from a plugin name if needed.<br>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">Le lun. 8 mars 2021 à 16:46,
Bo Victor Thomsen <<a
href="mailto:bo.victor.thomsen@gmail.com"
moz-do-not-send="true">bo.victor.thomsen@gmail.com</a>> a
écrit :<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi
list -<br>
<br>
Is there a smart method - using Python - to read the entries <br>
("Homepage", "Bug Tracker", "Code repository"...) in the
"metadata.txt" <br>
in the plugin directory ?<br>
<br>
-- <br>
Med venlig hilsen / Kind regards<br>
<br>
Bo Victor Thomsen<br>
<br>
_______________________________________________<br>
QGIS-Developer mailing list<br>
<a href="mailto:QGIS-Developer@lists.osgeo.org"
target="_blank" moz-do-not-send="true">QGIS-Developer@lists.osgeo.org</a><br>
List info: <a
href="https://lists.osgeo.org/mailman/listinfo/qgis-developer"
rel="noreferrer" target="_blank" moz-do-not-send="true">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
Unsubscribe: <a
href="https://lists.osgeo.org/mailman/listinfo/qgis-developer"
rel="noreferrer" target="_blank" moz-do-not-send="true">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
</blockquote>
</div>
</blockquote>
</body>
</html>