<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p><br>
</p>
<div class="moz-cite-prefix">On 09/09/20 9:41 pm, Mohamed ali Abdul
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAN7d=SpvDEoSaC+reFgWbOtJFoVhTn8zGfB=7kBHRFw+jW6p-w@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="auto">
<div style="font-family:sans-serif;font-size:12.8px" dir="auto">
<div style="width:361.091px;margin:16px 0px">
<div dir="ltr">
<div dir="ltr">Hello to all,
<div><br>
</div>
<div> </div>
<div>The binary file is to be converted in to human
readable format.</div>
<div>Each four byte data to be converted using python </div>
<div><br>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
How about the following?<br>
<p><tt>binary = b'\x00...'</tt></p>
<tt><br>
</tt><tt>from array import array</tt><tt><br>
</tt><tt>arr = array('i')</tt><tt><br>
</tt><tt>arr.frombytes(binary)</tt><tt><br>
</tt><tt>print(arr)</tt><tt><br>
</tt>
<p>Regards,</p>
<p>Vijay<br>
</p>
</body>
</html>