Python Convert Class To Byte Pythonanywhere