How to remove Millisecond using python?
<p>I Have fetched timestamp from my log file but i need to remove millisecond and write it back to a new file.</p>

<p>i.e Ex:3:32:15.89567</p>

<p>I need to remove .89567
Finally i need is 3:32:15(hour,minute and second)</p>

<p>Can anyone help on this.</p>