os — Miscellaneous operating system interfaces¶ Source code: Lib/os.py This module provides a portable way of using operating system dependent functionality. If you just want to read or write a file see open(), if you want to manipulate paths, see the os.path module, and if you want to read all the lines in all the files on the command line see the fileinput module. For creating temporary files an
![os — Miscellaneous operating system interfaces](https://cdn-ak-scissors.b.st-hatena.com/image/square/3a53e982d46d56c53fb3e7f0b5e3d2ce30a8f391/height=288;version=1;width=512/https%3A%2F%2Fdocs.python.org%2F3%2F_static%2Fog-image.png)