Working with Files in Python 3
Manipulating files and folders are essential aspects of working with Python. This course teaches you how to apply the most useful and common file and folder operations available with the standard library and can be created using Python.
What you'll learn
The Python standard library has several built-in modules which contain a series of functions for handling files and are part of several modules, such as os, path, shutil, and pathlib. The Python standard library is among the top libraries that every Python developer must know and master. In this course, Working with Files in Python 3, you’ll learn the skills and practices you need to work and manipulate files and folders in Python easily. First, you’ll explore how to find files in Python by using string methods and pattern-matching techniques. Next, you’ll discover how to perform various file and folder operations, such as copying, moving, renaming, deleting, archiving, traversing, and more. Finally, you’ll learn how to read and write text, CSV, XML, JSON, and Pickle files, some of the most common existing file types. When you’re finished with this course, you’ll have the skills and knowledge of Working with Files in Python 3 needed to work successfully with files and folders using Python.