Sep-29-2016, 01:48 PM
Larz60+ I appreciate your post, I had to just add that to my notes for later though (still in the infancy of my Python training and haven't learned anything about classes yet :)
For now was just hoping to put together a simple standalone script.
I tried some of the suggestions above but haven't been able to get anything to log. I am getting something to display in stdout but it's what my script is sending to the app (1, 2, 3, etc) and now what the app is resulting back which is what I also wanted to see.
Maybe there's something other than pexpect that works better for this purpose I don't know yet.
For now was just hoping to put together a simple standalone script.
I tried some of the suggestions above but haven't been able to get anything to log. I am getting something to display in stdout but it's what my script is sending to the app (1, 2, 3, etc) and now what the app is resulting back which is what I also wanted to see.
Maybe there's something other than pexpect that works better for this purpose I don't know yet.