:type p ProgressBar
  :type hide bool

def do_status_progress(p, hide=False):
  """
  :type p ProgressBar
  :type hide bool
  """
  p.start(10)

  for i in range(1, 60):
    p.progress_inc(new_status="count %s" % i)
    time.sleep(0.1)

  p.stop(hide_progress=hide, new_status="done")