The Python Oracle

Tarfile in Python: Can I untar more efficiently by extracting only some of the data?

Become part of the top 3% of the developers by applying to Toptal https://topt.al/25cXVn

--

Music by Eric Matyas
https://www.soundimage.org
Track title: Puzzle Game 2 Looping

--

Chapters
00:00 Question
02:04 Accepted answer (Score 8)
03:02 Answer 2 (Score 11)
04:35 Thank you

--

Full question
https://stackoverflow.com/questions/2606...

Accepted answer links:
[a header]: http://www.gnu.org/software/tar/manual/h...
[for some compression formats works, but for others requires you to decompress everything in between]: https://stackoverflow.com/questions/4299...
[_Stream]: https://github.com/python/cpython/blob/m...

Answer 2 links:
https://docs.python.org/2/library/tarfil...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#python #performance #tarfile

#avk47