Python substitua apenas primeira instância

text.replace("text", "new", count)
# count is the number of instances you want to replace
Blushing Beaver