---

How to create and manipulate tar archives using Python

On Linux and other Unix-like operating systems, tar is undoubtedly one of the most used archiving utilities; it let us create archives, often called ???tarballs???, we can use for source code distribution or backup purposes. In this tutorial we will see how to read, create and modify tar archives with python, using the tarfile module.

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends, & analysis