title: Splitting Text Paragraph Into Sentences
body: <p>I'm trying to split up a text file. It comes as a large paragraph. I want to split it up into smaller sentences and have each sentence be a list. From there I can figure out which lists contain a specific word. </p>
  
  <p>This is my code as it currently is:</p>
  
  <pre><code>import string
  
  Done = False
  while not Done:
      try:
          File = input("Enter your file: ")
          Open_File = open(File, "r")
          Info = Open_File.readline()
          print(Info)
          Open_File.close()
          Done = True
      except FileNotFoundError:
          print("Sorry that file doesn't exist!")
  
  
  Info_Str = str(Info)
  Info_Str = Info_Str.lower()
  Info_Str = Info_Str.replace("'", "")
  Info_Str = Info_Str.replace("-", "")
  Info_Str = Info_Str.split()
  Info_List = Info_Str
  Info_List = [''.join(c for c in s if c not in string.punctuation) for s in  Info_List]
  New_List = [item for item in Info_List if not item.isdigit()]
  for word in New_List[:]:
      if len(word) &lt; 3:
          New_List.remove(word)
  print(New_List)
  </code></pre>
  
  <p>If I put in a text file, it only returns the first line of a text file as a list of words. </p>
  
  <p><strong>How do I have it convert every individual sentence as a separate list of words?</strong> Thanks, in advance.</p>