<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">2018-02-07 1:03 GMT+01:00 Karim <span dir="ltr"><<a href="mailto:lemieliste@gmail.com" target="_blank">lemieliste@gmail.com</a>></span>:<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote"><span class="">2018-02-07 10:35 GMT+11:00 Carpediem <span dir="ltr"><<a href="mailto:i.carpediem@tiscali.it" target="_blank">i.carpediem@tiscali.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"><div class="m_-8309587613316271376gmail-HOEnZb"><div class="m_-8309587613316271376gmail-h5"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
</blockquote></div></div>
Il suggerimento è talmente logico, che nella sua semplicità appare geniale! Grazie</blockquote><div><br></div></span><div style="font-family:verdana,sans-serif">​Si inizia con il print, poi si scopre il logging. <a href="https://docs.python.org/3/howto/logging.html#logging-basic-tutorial" target="_blank">https://docs.python.org/3/<wbr>howto/logging.html#logging-<wbr>basic-tutorial</a></div></div></div></div></blockquote><div><br></div><div>Per finire con:</div><div><br></div><div>import pdb;pdb.set_trace()</div><div><br></div><div>:-)</div><div><br></div><div>Ciao.</div><div>Marco.</div><div><br></div></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div><a href="http://beri.it/" target="_blank">http://beri.it/</a> - Un blog</div><div><a href="http://beri.it/i-miei-libri/" target="_blank">http://beri.it/i-miei-libri/</a> - Qualche libro</div><div><span style="font-size:small"><a href="http://beri.it/articoli/" target="_blank">http://beri.it/articoli/</a> - Qualche articolo</span></div></div></div></div>
</div></div>