Powershell String Replace Function In Python