> Even only with "*proc.decode("utf-8")"* in the above code still it seems to > throw the error
No it does not. It throws the same TYPE of error due to the same SORT of mistake you made. You need to read carefully and try to think about what you read. Karsten -- https://mail.python.org/mailman/listinfo/python-list