OS Module

Os module is one the usable module in Python as one can easily access the information of the operating system. Like we can create and access folders. If you want to manipulate paths, see the os.path module, etc.

Let’s dive into some examples of this module. There are many methods to explore, you can go the documentation as well for more -: https://docs.python.org/3/library/os.html

How to make a directory and remove a directory?

How to traverse the whole directory.

How to manipulate a file inside a directory?

There are many more methods in os module such as environment, in os.path itself there are many functionalities. You can explore them at the time of usage or by documentation.


Close Menu