How to add a python application into a loop and access the loop variable within the python script?

Considering the following loop

How could the python script access the variable PID ?

Thanks for the help !

Damien

Parents Reply Children