Powershell If String Not Empty In Python Program