[Please note that this is a different question from the already answered How to replace a column using Python’s built-in .csv writer module?]
I need to do a find and rep
the problem is you're trying to write to the same file you're reading from. write to a different file and then rename it after deleting the original.