I have something like this:
text = \'This text is very very long.\'
replace_words = [\'very\',\'word\']
for word in replace_words:
text = text.replace(\
text = text.replace("very", "not very", 1)
The third parameter is the maximum number of occurrences that you want to replace.
From the documentation for Python:
string.replace(s, old, new[, maxreplace])
Return a copy of string s with all occurrences of substring old replaced by new. If the optional argument maxreplace is given, the first maxreplace occurrences are replaced.