title: Progress bar for loading large Pickle objects?
body: <p>I'm currently using the <a href="https://github.com/tqdm/tqdm" rel="nofollow noreferrer"><code>tqdm</code></a> Python library to output a pretty progress bar for loops. I was wondering, would there be either a built-in or a third-party way of outputing a progress bar for loading a large object?</p>
  
  <p>Right now I have code that looks like:</p>
  
  <pre><code>with open('some_pickle.pkl', mode='rb') as f:
      obj = pickle.load(file=f)
  </code></pre>
  
  <p>and have attempted to use <code>tqdm</code> as:</p>
  
  <pre><code>with open('some_pickle.pkl', mode='rb') as f:
      obj = tqdm(pickle.load(file=f), desc='Loading large object')
  </code></pre>
  
  <p>but there's no output.</p>
  
  <p>Would anyone be kind enough to provide some feedback on this issue? Thanks.</p>