The PowerShell and Python Together Series is inspired by many readers asking for an interactive demonstration that combines these two powerful scripting environments. The series is based on the book of the same name published by Apress. We look forward to your feedback and questions.
In Episode one of the series, we focus on launching a Python script from PowerShell using the PowerShell pipeline to pass a short message to Python. The Python script receives the message and parrots back the message to PowerShell completing the circle. Although, this is a simple demonstration it provides the fundamentals of integrating these two platforms. Consider this the “Hello World” example of PowerShell and Python.