Qml String Replace Function Python