How to join hex values
<p>I am reading four bytes from file
I would like to join them</p>

<pre><code>g = f.read(60)
f.seek (60)
k60 =f.read(1)
print('byte60',k60)
k61 =f.read(1)
print('byte61',k61)
k62 =f.read(1)
print('byte62',k62)
k63 =f.read(1)
print('byte63',k63)
print(k63,k62,k61,k60)
print (b''.join([k63,k62,k61,k60]))
</code></pre>

<p>Result is:</p>

<pre><code>b'\x00\x00\x00\x80'
</code></pre>

<p>I would like to receive:</p>

<pre><code>00000080
</code></pre>