iode.Variables.__iter__
- Variables.__iter__()
Iterate over object names.
Examples
>>> from iode import SAMPLE_DATA_DIR >>> from iode import comments >>> comments.load(f"{SAMPLE_DATA_DIR}/fun.cmt") Loading .../fun.cmt 317 objects loaded >>> cmt_subset = comments["A*"] >>> cmt_subset.names ['ACAF', 'ACAG', 'AOUC', 'AQC'] >>> for name in cmt_subset: ... print(name) ACAF ACAG AOUC AQC