<div dir="ltr">Sounds good for me. Recentily I had problems with it (<a href="https://bugs.launchpad.net/openlp/+bug/1689131">https://bugs.launchpad.net/openlp/+bug/1689131</a>).<div><br></div><div>Thank you Phill!</div></div><div class="gmail_extra"><br><div class="gmail_quote">2017-08-03 5:48 GMT-03:00 Philip Ridout <span dir="ltr"><<a href="mailto:phill.ridout@gmail.com" target="_blank">phill.ridout@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>OpenLP currently uses string objects to represent file and directory paths. From Python 3.4 pathlib, a new module introducing a Path object, was included in the standard library.</span><br><span>Switching to this Path object will allow us to deal with file paths on different platforms easier. In some cases it also reduces LOC and in my opinion makes the code cleaner and easier to read.</span><div><br></div><div>As trb commented "[it's] cleaver and a different mindset."</div><div><br></div><div>Superfly particularly liked the proposal for storing paths in a platform independent way.</div><div><br></div><div>This is going to be a big change, so will take quite a few merges. In-between merges I will need to introduce temporary code too keep OpenLP working until I can complete this transition.</div><div><br></div><div>Finally I've created a wiki page with an explanation of the pathlib, some proposals, samples of old v new code and some differences that I have come across. Please have a read: <a href="https://wiki.openlp.org/Scratchpad:Paths" target="_blank">https://wiki.openlp.org/<wbr>Scratchpad:Paths</a></div><div><br></div><div>Finally I would recommend the pathlib documentation at: <a href="https://docs.python.org/3.4/library/pathlib.html" target="_blank">https://docs.python.org/3.<wbr>4/library/pathlib.html</a></div><div><br></div><div>Phill</div>
<br>______________________________<wbr>_________________<br>
openlp-dev mailing list<br>
<a href="mailto:openlp-dev@openlp.io">openlp-dev@openlp.io</a><br>
<a href="https://lists.openlp.io/mailman/listinfo/openlp-dev" rel="noreferrer" target="_blank">https://lists.openlp.io/<wbr>mailman/listinfo/openlp-dev</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><i><span style="color:rgb(102,102,102)">Daniel Borges Ferreira da Silva</span><br style="color:rgb(102,102,102)"><span style="color:rgb(102,102,102)">Bacharel em Ciência da computação pela UFAL<br>Mestrando em Informática pela UFAL<br></span><span style="color:rgb(102,102,102)">Membro do Núcleo de Excelência em Tecnologias Sociais - NEES</span></i><i><span style="color:rgb(102,102,102)"><br style="color:rgb(102,102,102)"></span><span style="color:rgb(102,102,102)">Lattes: </span><a href="http://lattes.cnpq.br/0755689140229552" target="_blank"><span style="color:rgb(102,102,102)"></span></a><a href="http://lattes.cnpq.br/0755689140229552" target="_blank">http://lattes.cnpq.br/0755689140229552</a><br></i></div></div></div></div>
</div>