iode.Equations.filename
- property Equations.filename: str
Return the filepath associated with the current database.
- Returns:
- str
Examples
>>> from iode import SAMPLE_DATA_DIR >>> from iode import comments >>> from pathlib import Path >>> from os.path import relpath >>> comments.load(f"{SAMPLE_DATA_DIR}/fun.cmt") Loading .../fun.cmt 317 objects loaded >>> filename = comments.filename >>> Path(filename).name 'fun.cmt' >>> comments.filename = "new_filename.cmt" >>> filename = comments.filename >>> Path(filename).name 'new_filename.cmt'