code: def mkdir(scope, dirname, mode=None):
      
      for dir in dirname:
          if mode is None:
              os.makedirs(dir)
          else:
              os.makedirs(dir, mode[0])
      return True
docs: Creates the given directory (or directories). The optional access
      permissions are set to the given mode, and default to whatever
      is the umask on your system defined.
  
      :type  dirname: string
      :param dirname: A filename, or a list of dirnames.
      :type  mode: int
      :param mode: The access permissions.