(self, path: str, dir: str)
return new_dir
Creates a path to directory. Creates all sub-directories
Creates a path to directory. Creates all sub-directories
Creates a path to directory . Creates all sub - directories
def create_path(self, path: str, dir: str):
        '''
        Creates a path to directory. Creates all sub-directories
        '''
        new_dir = os.path.join(path, dir)
        if not os.path.exists(new_dir):
            os.makedirs(new_dir)
        return new_dir
def create_path ( self , path : str , dir : str ) : new_dir = os . path . join ( path , dir ) if not os . path . exists ( new_dir ) : os . makedirs ( new_dir ) return new_dir