Powershell Loop Through String In Python Programming