Primary
os.path.dirname() ⚬|Documentation|1st|20251021184457-00-⌔
os.path — Common pathname manipulations — Python 3 documentation#os.path.dirname
os.path.dirname(path,/)Return the directory name of pathname path. This is the first element of the pair returned by passing path to the function
split().Changed in version 3.6: Accepts a path-like object.
Printed 2026-06-28.
(echo:: @ ᯤ)
Link to original
Secondary
• • •