title: How come Python does not include a function to load a pickle from a file name?
body: <p>I often include this, or something close to it, in Python scripts and IPython notebooks.</p>
  
  <pre><code>import cPickle
  def unpickle(filename):
      with open(filename) as f:
          obj = cPickle.load(f)
      return obj
  </code></pre>
  
  <p>This seems like a common enough use case that the standard library should provide a function that does the same thing. Is there such a function? If there isn't, how come?</p>