This repository has been archived by the owner. It is now read-only.
Please sign in to comment.
Added parsed_output in Response method, r.std_out gives entire output…
… in string. This works fine for one line output, but commands like ps, netstat will yield many lines. In those cases users need to split('\n') and store it in a list and process the output. This is cumbersome. So parsed output will split the lines and results are further split and each column of the ouput can be accessed like a list. Eg. r.parsed_output => will yield first column in the output.
- Loading branch information...
Showing with 29 additions and 2 deletions.
|@@ -1,3 +1,3 @@|
|from core import *|
|-from core import __version__|
|+from core import __version__|