title: How to import data from a CSV file and store it in a variable?
body: <p>I am extremely new to python 3 and I am learning as I go here.  I figured someone could help me with a basic question: how to store text from a CSV file as a variable to be used later in the code.  So the idea here would be to import a CSV file into the python interpreter: </p>
  
  <pre><code>import csv
  with open('some.csv', 'rb') as f:
      reader = csv.reader(f)
      for row in reader:
          ...
  </code></pre>
  
  <p>and then extract the text from that file and store it as a variable (i.e. <code>w = ["csv file text"]</code>) to then be used later in the code to create permutations:</p>
  
  <pre><code>print (list(itertools.permutations(["w"], 2)))
  </code></pre>
  
  <p>If someone could please help and explain the process, it would be very much appreciated as I am really trying to learn.  Please let me know if any more explanation is needed!</p>