Nuke Python: Read Node File Path Replace

Here is a small snippet of code for Nuke using python.
It will loop through all the read nodes int he script, and will replace the any string ‘Shot_003’ with ‘Shot_002’ inside the ‘file’ knob (the path) by using a very simple regular expression.