Expand description
os.path submodule Python os.path module implementation
This submodule provides path manipulation functions using Rust’s std::path.
Statics§
- sep
- os.path.sep - path separator for the current platform
Functions§
- abspath
- os.path.abspath - return absolute path
- abspath_
py - Python-compatible wrapper function (concrete types)
- abspath_
wrapper - Simple wrapper for generated Rust code
- basename
- os.path.basename - return base name of pathname
- basename_
py - Python-compatible wrapper function (concrete types)
- basename_
wrapper - Simple wrapper for generated Rust code
- dirname
- os.path.dirname - return directory name of pathname
- dirname_
py - Python-compatible wrapper function (concrete types)
- dirname_
wrapper - Simple wrapper for generated Rust code
- exists
- os.path.exists - check if path exists
- exists_
py - Python-compatible wrapper function (concrete types)
- exists_
wrapper - Simple wrapper for generated Rust code
- isdir
- os.path.isdir - check if path is a directory
- isdir_
py - Python-compatible wrapper function (concrete types)
- isdir_
wrapper - Simple wrapper for generated Rust code
- isfile
- os.path.isfile - check if path is a regular file
- isfile_
py - Python-compatible wrapper function (concrete types)
- isfile_
wrapper - Simple wrapper for generated Rust code
- join
- os.path.join - join path components
- join3
- os.path.join - join path components (3 arguments version)
- join3_
py - Python-compatible wrapper function (concrete types)
- join3_
wrapper - Simple wrapper for generated Rust code
- join_
many - os.path.join - join path components (variable arguments version)
- join_
many_ py - Python-compatible wrapper function (concrete types)
- join_
many_ wrapper - Simple wrapper for generated Rust code
- join_
paths - os.path.join - variadic version for compatibility with Python’s os.path.join
- join_py
- Python-compatible wrapper function (concrete types)
- join_
wrapper - Simple wrapper for generated Rust code
- relpath
- os.path.relpath - return relative path
- relpath_
py - Python-compatible wrapper function (concrete types)
- relpath_
wrapper - Simple wrapper for generated Rust code