title: ValueError: not enough values to unpack (expected 3, got 1)
body: <blockquote>
    <p>I am trying to read a txt file into python and getting the above error. I want to convert each line into 3 columns. 
    The text file looks like this -</p>
  </blockquote>
  
  <pre><code>1714,Sales,Math
  10070,Research,Science
  1704,Developer,History
  32696,QA,Math
  16421,Marketing,Science
  25925,Sales,History
  </code></pre>
  
  <p>My code looks like this :</p>
  
  <pre><code>    import pandas as pd 
  a=open('/Users/mezbahuddin/Downloads/dept_course.txt')
  b=a.read()
  for line in b:
      g,h,i=line.strip().split(",",2)
      print(g[0],h[0],i[0])
  </code></pre>
  
  <p>Anyhelp would be greatly appreciated. Thanks</p>