High memory usage when using Python’s tarfile module

The Python tarfile module is a handy way to access files within tar archives without needing to unpack them first. You can iterate over files using the following pattern: Behind the scenes, each TarFile object maintains a list of members … Continue reading

Posted in Python | Tagged , , , | 1 Comment