I'm working on a Python project that uses txt files. It reads a few very long text files (a few thousands of lines - but could me more that that - that are UTF-8 encoded) into a list, manipulates them quite a lot, and then writes them back to a file.
I was wondering if this is the correct way to do such a thing. That is, is the limit of texts that Python could hold in memory reachable with this amount of texts? Should I take reaching the limit into account (and if so, how do I take it into account)?