code: def GetPythonLibraryDirectoryPath():
    
    path = sysconfig.get_python_lib(True)
    _, _, path = path.rpartition(sysconfig.PREFIX)
  
    if path.startswith(os.sep):
      path = path[1:]
  
    return path
docs: Retrieves the Python library directory path.