Qml String Replace Function In Python