Mojo package
os
Provides access to operating-system dependent functionality.
The types and functions in this package primarily provide operating-system independent access to operating-system dependent features, such as file systems and environment variables.
For accessing files, see built-in open()
function and the file module. For manipulating
file system paths, see the os.path package for
OS-independent path manipulation functions and the pathlib package for
the Path struct, an abstraction for handling
paths.
Packages
-
path: Provides a set of operating-system independent functions for manipulating file system paths.
Modules
-
atomic: Implements theAtomicstruct. -
env: Provides functions for working with environment variables. -
fstat: Implements file system status operations. -
os: Provides functions to access operating-system dependent functionality, including file system operations. -
pathlike: Implements thePathLiketrait.
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!