Importing files

File handling

Python

Important Statements

To use functions from the os module, you first need to import it:

import os

Working with Directories

Working with Files and Paths