Powershell Custom Function In Python Programming