Code to check a scripts activity (python)
<p>Simple question:</p>

<p>Is there some code or function I can add into most scripts that would let me know its "running"? </p>

<p>So after you execute <code>foo.py</code> most people would see a blinking cursor. I currently am running a new large script and it seems to be working, but I wont know until either an error is thrown or it finish(might not finish).</p>

<p>I assume you could put a simple <code>print "foo-bar"</code>at the end of each for loop in the script?</p>

<p>Any other neat visual read out tricks?</p>
