title: Add progress bar to a python function
body: <p>Appreciate any help for a beginner :) I tried the below
  but not sure how to wrap the <code>def Job()</code>:</p>
  
  <pre><code>import time
  from progressbar import ProgressBar
  
  
  pbar = ProgressBar()
  def job():
          Script ....
          Script ...
          Script ...
          Script ...
  </code></pre>