Powershell Formatting String In Python Function