<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">2017-10-20 8:52 GMT+02:00 Gabriele Battaglia <span dir="ltr"><<a href="mailto:iz4apu@libero.it" target="_blank">iz4apu@libero.it</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Al metodo __str__ di un oggetto, รจ possibile passare dei parametri?<br></blockquote><div>No, ma potresti usare __format__()</div><div><br></div><div><a href="https://docs.python.org/3/library/stdtypes.html#str.format">https://docs.python.org/3/library/stdtypes.html#str.format</a><br></div><div><a href="https://docs.python.org/3/library/string.html#formatspec">https://docs.python.org/3/library/string.html#formatspec</a><br></div><div><a href="https://pyformat.info/#custom_1">https://pyformat.info/#custom_1</a></div><div><a href="https://gist.github.com/drmalex07/d80643716263bb18f346">https://gist.github.com/drmalex07/d80643716263bb18f346</a><br></div><div><br></div></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>| Raffaele Salmaso<br>| <a href="https://salmaso.org" target="_blank">https://salmaso.org</a><br>| <a href="https://bitbucket.org/rsalmaso" target="_blank">https://bitbucket.org/rsalmaso</a><br>| <a href="https://github.com/rsalmaso" target="_blank">https://github.com/rsalmaso</a><br></div></div></div></div></div></div></div>
</div></div>