How to construct a TarFile object in memory from byte buffer in Python 3? How to construct a TarFile object in memory from byte buffer in Python 3? python-3.x python-3.x