pydoc.pathdirs()

pydoc.pathdirs()[source]

Convert sys.path into a list of absolute, existing, unique paths.