os — Portable access to operating system specific features — PyMOTW 3

The os module provides a wrapper for platform specific modules such as posix , nt , and mac . The API for functions available on all platforms should be the same, so using the os module offers some measure of portability.

Read more…

This post is part of the Python Module of the Week series for Python 3. See PyMOTW.com for more articles from the series.