Powershell Loop Through String Python