BaseReader.path#
- property BaseReader.path: str[source]#
Return or set the filename or directory of the reader.
- Returns:
strFilename or directory of the reader.
Examples#
Download Python source code | Download Jupyter notebook
>>> import pyvista as pv
>>> from pyvista import examples
>>> filename = examples.download_human(load=False)
>>> reader = pv.XMLPolyDataReader(filename)
>>> reader.path
'/home/user/.local/share/pyvista/examples/Human.vtp'