def path_from_pythonpath(pythonpath):
    """Create an fs.Path object from a pythonpath string."""
    path = fs.Path()
    for p in pythonpath.split(os.pathsep):
        path.add_path(utils.expand_path(p), 'os')
    return path
Create an fs.Path object from a pythonpath string.