title: Importing large tab-delimited .txt file into Python
body: <p>I have a tab delimited .txt file that I'm trying to import into a matrix array in Python of the same format as the text file is as shown below:</p>
  
  <p>123088         266         248         244         266         244         277</p>
  
  <p>123425         275         244         241         289         248         231</p>
  
  <p>123540         156         654         189         354         156         987</p>
  
  <p>Note there are many, many more rows of the stuff above (roughly 200) that I want to pass into Python and maintain the same formatting when creating a matrix array from it.</p>
  
  <p>The current code that I have for this is:</p>
  
  <pre><code>d = {}
  with open('file name', 'rb') as csv_file:
      csv_reader = csv.reader(csv_file, delimiter='\t')
      for row in csv_reader:
          d[row[0]] = row[1:]
  </code></pre>
  
  <p>Which it slightly does what I need it to do, but not my target goal for it. I want to finish code that I can type in print(d[0,3]) and it will spit out 248.</p>