title: Pickle persistence
body: <p>I'm starting using Python recently and I'm trying to make a program that manipulates data in Python using <code>pickle</code>, however I would like my file to be kind like this:</p>
  
  <pre class="lang-none prettyprint-override"><code>             CODE | PIECE | PRICE
  line one       1      1     1,00
  line two       2      2     2,00
  </code></pre>
  
  <p>Consider 1 right down <code>CODE</code>, 1 right down <code>PIECE</code> and <code>1,00</code> right down <code>PRICE</code> until gets <code>50</code>.</p>
  
  <p>Here's the question: Is there anyway to do this using pickle? Like:</p>
  
  <pre><code>columns = int(input('Number of columns : ')) # Which would be 3 (code, piece and price)
  data = [ ]
  
  for i in range(columns):
      raw = input('Enter data '+str(i)+' : ')
      data.append(raw)
  
  file = open('file.dat', 'wb')
  pickle.dump(data, file)
  file.close()
  </code></pre>
  
  <p>Obviously, it cannot be done using input, so is there some way to do this?</p>