class_docstr: Tools for generating an example page from a file
class_docstr_tok: ["Tools","for","generating","an","example","page","from","a","file"]
code: def dirname(self):
      return op.split(self.filename)[0]
  
imports: import glob
  import os
  import os.path
  import re
  import shutil
  import token
  import tokenize
  from typing import Optional
  import matplotlib
  import matplotlib.pyplot
  from arviz.rcparams import rc_context
  from arviz import rcParams
label_desc: Use image node_id 4 for calling the ExampleGenerator obj's underlying member method code with example usage: obj.dirname() and returns: op