Standard library

There are many packages available in the default Python installation. We have already used some of them, like pathlib. You can find a list with all of them in the official documentation. Here we are just going to mention a couple as an example.

Resources

shutil

The shutil module allow us to copy and delete files and directories. copy copies files, and copytree directories. Remember that in the pathlib module there was more functionality to create an delete files and directories.

subprocess

subprocess allows you to run programs from Python. The easiest way to use it is its run function.