On Wed, Jun 18, 2014 at 1:20 PM, cutey Love <cuteywithl...@gmail.com> wrote: > I'm trying to read in 100000 lines of text, use some functions to edit them > and then return a new list. > > The problem is my program always goes not responding when the amount of lines > are a high number. > > I don't care how long the program takes to work, just need it to stop > crashing?
What are you doing with the data? Try reading in the file chunks at a time -- https://mail.python.org/mailman/listinfo/python-list