title: pickle - putting more than 1 object in a file?
body: <p>I have got a method which dumps a number of pickled objects (tuples, actually) into a file.</p>
  
  <p>I do not want to put them into one list, I really want to dump several times into the same file.
  My problem is, how do I load the objects again?
  The first and second object are just one line long, so this works with readlines.
  But all the others are longer. 
  naturally, if I try </p>
  
  <pre><code>myob = cpickle.load(g1.readlines()[2])
  </code></pre>
  
  <p>where g1 is the file,  I get an EOF error because my pickled object is longer than one line.
  Is there a way to get just my pickled object?</p>