I have been looking into YAML and the Python parsing options with PyYAML. I kind of understand how it works but still have a question regarding the process:
Is it possible to directly update an item inside the YAML file without parsing the whole file, creating a dictionary for everything, operating on that dictionary and then dumping it back?
HOUSE:
- white
APPLE:
- red
BANANA:
- yellow
Let say that I want to make the APPLE "green", is that possible by only operating on the APPLE object, and not working on the whole dictionary?
Thanks.