title: How to change a line in a YAML file?
body: <p>I have a bunch of YAML files and each file has one line of code that needs to be changed. I am trying to automate it using Python, what's the best way to do this?</p>
  
  <p>Right now I have a list of the files, and I plan on opening each one and finding the line needed to be changed then replacing it. </p>
  
  <p>Is this possible? I can't seem to figure out how to replace the line. I know the exact line number, could that help?</p>