Mojo package
pathlib
Filesystem path manipulation and navigation.
The pathlib package provides object-oriented filesystem path handling with
platform-independent path operations. It offers the Path type for
representing and manipulating filesystem paths, along with utilities for path
joining, expansion, and directory operations. This package makes working with
file paths safer and more intuitive than manual string manipulation.
Use this package for any filesystem path operations including constructing paths, navigating directories, checking file existence, or performing path-related queries in a platform-independent way.
Modules
-
path: ImplementsPathand related functions.
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!