<meta http-equiv="content-type" content="text/html; charset=utf-8"><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 12.7315px; border-collapse: collapse; ">import PyZenity</span><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">update = PyZenity.Progress(text=&#39;&#39;, percentage=0, auto_close=False, pulsate=False)</span></font></div>

<div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><meta http-equiv="content-type" content="text/html; charset=utf-8"><span class="Apple-style-span" style="border-collapse: separate; font-family: arial; "><div>

<font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse; ">update(1)</span></font></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse; "><meta http-equiv="content-type" content="text/html; charset=utf-8"><span class="Apple-style-span" style="border-collapse: separate; font-family: arial; "><div>

<font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse; ">update(2)</span></font></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse; "><meta http-equiv="content-type" content="text/html; charset=utf-8"><span class="Apple-style-span" style="border-collapse: separate; font-family: arial; "><div>

<font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse; ">update(20)</span></font></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse; "><meta http-equiv="content-type" content="text/html; charset=utf-8">update(100)</span></font></div>

<div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse; "><br></span></font></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse; "><br>

</span></font></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse; "><br></span></font></div></span></span></font></div></span></span></font></div>

</span></span></font></div><div>
<br><br><div class="gmail_quote">2010/10/24 franco93it <span dir="ltr">&lt;<a href="mailto:franco93it@gmail.com">franco93it@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<div class="gmail_quote">Il giorno 24 ottobre 2010 18:54, Manlio Perillo <span dir="ltr">&lt;<a href="mailto:manlio.perillo@gmail.com" target="_blank">manlio.perillo@gmail.com</a>&gt;</span> ha scritto:<div class="im"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



Chiami la funzione ogni volta che hai eseguito uno step di calcolo.<br>
<br>
Ad esempio, se devi processare N files, chiamerai update dopo aver<br>
processato ciascun file.<br></blockquote><div><br></div></div><div>Il problema č chiamarla:</div><div class="im"><div><span style="font-family:arial, sans-serif;font-size:13px;border-collapse:collapse"><div> &gt;&gt;&gt; update()</div>


<div>Traceback (most recent call last):</div><div>  File &quot;&lt;stdin&gt;&quot;, line 1, in &lt;module&gt;</div><div>NameError: name &#39;update&#39; is not defined</div><div>&gt;&gt;&gt; </div></span></div></div></div>


<br>_______________________________________________<br>
Python mailing list<br>
<a href="mailto:Python@lists.python.it">Python@lists.python.it</a><br>
<a href="http://lists.python.it/mailman/listinfo/python" target="_blank">http://lists.python.it/mailman/listinfo/python</a><br>
<br></blockquote></div><br></div>