Powershell Replace Substring In Python