pyslk.mkdir#
- pyslk.mkdir(gns_path: str | Path) int #
Create a directory
If the directory already exists,
FileExistsError
is raised. If a parent directory in the path does not exist,FileNotFoundError
is raised.- Parameters:
gns_path (
str
orPath
) – gns path to create- Returns:
namespace/resource id of the created namespace
- Return type:
int
See also