Powershell Function Example In Python