結果 : convert powershell code to python