Powershell Object Array To String Python Definition Function