Python Replace String Within String Lights