def mkdir(self, astr_dirSpec):
if astr_dirSpec != '<STR_LIT:/>' and astr_dirSpec != "<STR_LIT>":<EOL><INDENT>str_currentPath = self.cwd()<EOL>l_pathSpec = astr_dirSpec.split('<STR_LIT:/>')<EOL>if not len(l_pathSpec[<NUM_LIT:0>]):<EOL><INDENT>self.cd('<STR_LIT:/>')<EOL>l_nodesDepth = l_pathSpec[<NUM_LIT:1>:]<EOL><DEDENT>else:<EOL><INDENT>l_nodesDepth = l_pathSpec<EOL><DEDENT>for d in l_nodesDepth:<EOL><INDENT>self.mkcd(d)<EOL><DEDENT>self.cd(str_currentPath)<EOL><DEDENT>
Given an <astr_dirSpec> in form '/a/b/c/d/.../f',
create that path in the internal stree, creating all
intermediate nodes as necessary

:param astr_dirSpec:
:return: