Update to My Python Update Script
Date: 9/4/2024
Today, while updating some forms that do not use the typical layout of our other technical documents, I found that my script started to get hung up and wouldn’t update the footer section. I started debugging (running in command prompt and using the print() function) and I noticed that it was working fine, but it wasn’t reaching the section of the footer that contains the info that needs updating. It was a quick fix and now it is working as intended. I only needed to nest the find/replace function inside a for loop that iterated through several sections within the footer. Here is the updated code: