code: def human_time(seconds):
      """Format time in seconds to human readable form (e.g. 1 h 2 min 3 s)"""
      seconds = int(seconds)
      m, s = divmod(seconds, 60)
      h, m = divmod(m, 60)
  
      if h > 0:
          timestr = "{:.0f} h {:.0f} min {:.0f} s".format(h, m, s)
      elif m > 0:
          timestr = "{:.0f} min {:.0f} s".format(m, s)
      else:
          timestr = "{:.0f} s".format(s)
  
      return timestr
  
imports: import numpy
  from Qt import QtGui
label_desc: Use image node_id 4 for calling a global function with example usage: human_time(seconds) and returns: timestr