Need Help Running Python Shell Script from KM

I haven't read through this thread in detail, but I'll link to a previous posting with a subroutine that executes a KM string as a Python script. There is nothing fancy here, but some might find it useful.