Working With Files in Python

Have you ever wondered how you can use Python to work with groups of files? I wrote a comprehensive article on this for Real Python. You can find the article here. In the article, I cover differences between modules such as fnmatch, pathlib and os. In addition to that, you will learn how to create, rename, move and delete files using the Python language. Writing this was a real time sink for me but I enjoyed working on it and hope you will benefit from it. is a one stop shop for Python training and its tutorial team is known for making some of the highest quality Python tutorials available online. If you would like to be part of the team, please feel encouraged to apply for a role as a writer or editor by following this link.