title: ValueError: too many values to unpack (expected 2) errors
body: <p>My code:</p>
  
  <pre><code>def dictest():
      global my_glossary
      # read all lines of the file
      inFile = open("glossary.txt", "r")
      inText = inFile.read()
      inFile.close()
  
      my_glossary = {}
      # iterate through all lines, after removing the line-end character(s)
      for line in inText.splitlines():
          if line != '':           # ignore empty lines
              (key,value) = line.split(",")
              my_glossary[key] = value
  
      addToGlossary = entryNew.get()
      addToGlossaryDef = outputNew.get()
  
      my_glossary[addToGlossary] = addToGlossaryDef
  
      # list all the dictionary entries
      for k,v in my_glossary.items():
          print('key:', k, ', value:', v)
  </code></pre>
  
  <p>My Output:</p>
  
  <pre class="lang-none prettyprint-override"><code>Exception in Tkinter callback
  Traceback (most recent call last):
  File "C:\Python34\lib\tkinter\__init__.py", line 1533, in __call__
  return self.func(*args)
  File "I:\School\Working Glossary.py", line 59, in MultiFunc
  dictest()
  File "I:\School\Working Glossary.py", line 14, in dictest
  (key,value) = line.split(",")
  ValueError: too many values to unpack (expected 2)
  </code></pre>
  
  <p>I am trying to accomplish making of a keywords glossary using a text file as storage. I keep running into this error which is causing the program to not work.</p>
  
  <p>My text file contents:</p>
  
  <pre class="lang-none prettyprint-override"><code>bug, this is a test
  test, this is another test
  testing,testing
  123,12354
  </code></pre>