Running unix checksum command in Python
<p>Is there anyway we can run below unix command in Python.</p>

<pre><code>csum -h SHA1 &lt;filename&gt;
</code></pre>

<p>The checksum produced in python would be stored and supposed to match with the checksum produced by unix command in destination server.<br>
I know we can produce checksum through python itself.<br>
But I was not sure if this would match unix checksum produced on destination server.<br>
So I was thinking if there is anyway we run the same command on both servers to ensure there is no mismatch because of unix and python</p>