Powershell String Replace Method Python Definition