Convert Powershell Script To Python Ide