Module path

Module path 

Source
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