class_docstr: A directory tree structure viewer.
  
  Parameters
  ----------
  root : str or pathlib.Path
      The root directory.
  max_depth : int
      Max depth for recursive sub-folders, please be conservative to not spam the filesystem.
class_docstr_tok: ["A","directory","tree","structure","viewer",".","Parameters","--","--","--","--","--","root",":","str","or","pathlib.Path","The","root","directory",".","max_depth",":","int","Max","depth","for","recursive","sub-folders",",","please","be","conservative","to","not","spam","the","filesystem","."]
code: def __init__(self, root, max_depth=1):
      self._disp_path = _DisplayablePath.make_tree(
          Path(root), max_depth=max_depth
      )
  
imports: import os
  import errno
  import contextlib
  from pathlib import Path
  import tarfile
  import zipfile
label_desc: Use image node_id 1 to create a new PathTree object  with example: obj = PathTree(root, max_depth)