scriptharness.os module¶
Wrapping python os and related functions.
param LOGGER_NAME: | |
---|---|
the default logging.Logger name | |
type LOGGER_NAME: | |
str |
-
scriptharness.os.
make_parent_dir
(path, **kwargs)¶ Create the parent of path if it doesn’t exist.
Parameters: - path (str) – path to the file.
- **kwargs – These are passed to makedirs().
-
scriptharness.os.
makedirs
(path, level=20, context=None)¶ os.makedirs() wrapper.
Parameters: - path (str) – path to the directory
- level (Optional[int]) – the logging level to log with. Defaults to logging.INFO.