The**operating system that Python is running .

This module provides a portable way of using operating system dependent functionality.

OS module comes by default on Python’s standard utility modules therefore you don’t need to install anything to start using it

OS module provide ton of methods of which you use on variety of situation in interacting with the operating system ranging from creating new file & folders to renaming and deleting them

'chown', 'chroot', 'close', 'closerange', 'confstr', 'confstr_names', 
'cpu_count', 'ctermid', 'curdir', 'defpath', 'device_encoding', 
'posix_fallocate', 'pread', 'putenv', 'pwrite', 'read', 'readlink', 
'readv', 'remove', 'removedirs', 'removexattr', 'rename', 'renames'
............................and so on...........................

On this tutorial We will just check some of methods on OS Module

#modules #python fundamentals #python

How to Use OS Module in Python
6.30 GEEK