Can someone tell me how to convert the bytes value back to string?
I have used binascii.b2a_qp() method, communicate() method and standard output from an external program but everything returns the same array of bytes, I want to do it with a normal python string and print this:
-rw-rw-r-- 1 AF AF 0 Jun 1 17:23 file1
-rw-rw-r-- 1 AF AF 0 Jun 1 17:23 file2
Can anyone answer this, I want to use a "short cut" instead of doing it manually.