Pathpath.dirname()Path operation: dirname.path.dirname() Path operation: dirname. Syntax path.dirname(...) Example path.dirname(...)