title: Trying to print imported list using OOP. Not much luck. New to OOP
body: <p>I don't strongly understand using OOP. I am trying to create a printer class that I can call whenever needed but I am not having much luck. The bigger program was easy enough using procedural programming but this would be much more efficient.</p>
  
  <pre><code>class data():
      def __init__(self):
          import os
          import csv
          self.new_list = []
          os.chdir('C:\Users\U2970\Documents\ArcGIS')
          with open('roadlog_intersection_export_02_18_2014_2.csv', 'rb') as f:
              reader = csv.reader(f)
              for row in reader:
                  self.new_list.append(row)
  
      def printer(self):
          print self.new_list
  
  out = data()
  out.printer()
  </code></pre>