Machine Learning Using Python Byte Array To String