Python is no slouch when it comes to access capabilities—the immediate system (PASE) and the IBM i system. So we’ll do “ice cream before spinach” and take a look at PASE access first. It is probably better thought of as “host” system access since calling (shelling) out to the system can be done in LUW as well as PASE.
By Pete Helgren
Editor's Note: This article is excerpted from chapter 9 of Open Source Starter Guide for IBM i Developers, by Pete Helgren.
For the previous two articles in this series please see Programming in Python, and More Programming in Python.
In Python, here is how we begin the “Journey to the Center of the i”: We use subprocess… call to get there.