title: Double Progress Bar in Python
body: <p>Is there a way to create a double progress bar in Python?
  I want to run two loops inside each other. For each loop I want to have a progress bar. My program looks like:</p>
  
  <pre><code>import time
  for i1 in range(5):
      for i2 in range(300):
          # do something, e.g. sleep
          time.sleep(0.01)
          # update upper progress bar
      # update lower progress bar
  </code></pre>
  
  <p>The output somewhere in the middle should look something like</p>
  
  <pre><code>50%|############################                                  |ETA: 0:00:02
  80%|##################################################            |ETA: 0:00:04
  </code></pre>
  
  <p>The already existing really cool <a href="http://code.google.com/p/python-progressbar/">progressbar</a> module doesn't seem to support that.</p>