Select Page

EPISODE 2

PowerShell & Python Ep. 2

by | May 13, 2019 | Podcast, PowerShell, Python | 0 comments

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 two of the series, we utilize PowerShell CmdLets to identify potential files of interest, in this example a set of jpeg files. PowerShell then launches a Python script and passes the path of each identified target photo. Python then processes and extracts EXIF data from each image and provides a table of results back to the PowerShell script.

Related Episodes

PowerShell & Python Ep. 1

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.

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *