Using the os module for handling directory and files

In this section, we will learn about the os module of Python. Python's os module helps in achieving operating system tasks. We need to import the os module if we want to perform operating system tasks.

We will look at some examples related to handling files and directories.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset