Summary
In this chapter, we learned about creating and extracting archived files. Archiving plays an important role in managing files, directories, and data. It also stores the files and directories into a single file.
We learned in detail about the tarfile and zipfile Python modules that enable you to create, extract, and test archive files. You will be able to add a new file into the already archived file, read metadata, extract the files from an archive. You also learned about file encryption and decryption using the pyAescrypt module.
In the next chapter, you will learn about text processing and regular expressions in python. Python has a very powerful library called regular expressions that does tasks such as searching and extracting ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access