i_vis/core/file_utils.py
def create_dir(dname: str) -> None:
    """Create directory.

    If directory does not exist, create it and write a log message.

    Args:
        dname: Directory to create.
    """
    if not os.path.exists(dname):
        pathlib.Path(dname).mkdir(parents=True)
        logging.debug("Created directory: %s", dname)
Create directory.

    If directory does not exist, create it and write a log message.

    Args:
        dname: Directory to create.
    
Create directory.
If directory does not exist, create it and write a log message.
Create directory . If directory does not exist create it and write a log message .
def create_dir(dname: str) -> None:
    if not os.path.exists(dname):
        pathlib.Path(dname).mkdir(parents=True)
        logging.debug("Created directory: %s", dname)
def create_dir ( dname : str ) -> None : if not os . path . exists ( dname ) : pathlib . Path ( dname ) . mkdir ( parents = True ) logging . debug ( "Created directory: %s" , dname )
Create directory.
Create directory .
"""Create directory.

    If directory does not exist, create it and write a log message.

    Args:
        dname: Directory to create.
    """
dname
str
Directory to create.
Directory to create .