os
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 登录查看完整内容