title: Read a CSV file and put double quote on each item in python
body: <p>I'm really new to python and I have a simple question. I have a .csv file with the following content:</p>
  
  <pre><code>123,456,789
  </code></pre>
  
  <p>I want to read it and store it into a variable called "number" with the following format</p>
  
  <pre><code>"123","456","789"
  </code></pre>
  
  <p>So that when I do</p>
  
  <pre><code>print number
  </code></pre>
  
  <p>It will give the following output</p>
  
  <pre><code>"123","456","789"
  </code></pre>
  
  <p>Can anybody help?</p>
  
  <p>Thanks!</p>
  
  <p>Update:
  The following is my code:</p>
  
  <pre><code>input = csv.reader(open('inputfile.csv', 'r'))
  for item in input:
      item = ['"' + item + '"' for item in item]
  print item
  </code></pre>
  
  <p>It gave the following output:</p>
  
  <pre><code>['"123"', '"456"', '"789"']
  </code></pre>