title: Trying to pickle a list in python
body: <p>Trying to save a list of integers in python using pickle, following the exact method given to me by many sources, and I'm still encountering the same error.  Here's the simplified version:</p>
  
  <pre><code>import pickle
  a=[0,4,8,[3,5]]
  with open(blah.pickle, 'wb') as b:
      pickle.dump(a,b)
  </code></pre>
  
  <p>And I always get the error:</p>
  
  <pre><code>NameError: name 'blah' is not defined
  </code></pre>
  
  <p>What's going wrong?</p>