How to replace a string by another in a python str?