path#

property BaseReader.path: str[source]#

Return or set the filename or directory of the reader.

Examples

>>> import pyvista
>>> from pyvista import examples
>>> filename = examples.download_human(load=False)
>>> reader = pyvista.XMLPolyDataReader(filename)
>>> reader.path  
'/home/user/.local/share/pyvista/examples/Human.vtp'