title: Python - Catch run time of the file in specific Format
body: <p>I wanted to get the time which script was running.i have the following code:</p>
  
  <pre><code>import time
  start_time = time.time()
  # codes here
  print(time.time() - start_time)
  </code></pre>
  
  <p>But this gives in format: </p>
  
  <pre><code>Second.milisecond
  </code></pre>
  
  <p>I want to get it in this format:</p>
  
  <pre><code>D:H:M:S
  (Day:Hours:minutes:seconds)
  </code></pre>
  
  <p>How can I get it like this?</p>