title: python longest repeated substring in a single string?
body: <p>i can only find hints on how to make an algorithm for a longest repeated substring in two separate strings in comparing the two.  but what i need help on is how to find a longest repeated substring in one SINGLE looooong string (which is read from a text file).  i cant find any hints on how to do it.  can anyone help me please?  </p>