fordham-css / TryPy

"If I have seen further, it is by standing on the shoulders of giants" - Sir Isaac Newton
MIT License
0 stars 0 forks source link

os Module Demo #8

Open nickdibari opened 6 years ago

nickdibari commented 6 years ago

The os package in Python offers a variety of functions, variables, and classes to interact with the underlying operating systems, agnostic of what distribution the OS is running. Among other things it can traverse directories, manage file permissions, retrieve information about groups and users, and much more.

Suggest demo offers an overview of what os can do, namely how it can help with managing different directories and files in a project. For example, you can use the os module to find the current working directory for a project and uses the absolute path retrieved to build paths to resources in the project.

Python Docs: https://docs.python.org/2/library/os.html