Function
posixpath.normpath

Signature

normpath(path)

Documentation String

Normalize path, eliminating double slashes, etc.