Powershell With Statement In Python