code: def get_version():
      
      try:
          wk_version = _string_execute('-V')
      except Exception as e:
          # we catch all errors here to make sure we get a version no matter what
          wk_version = '%s: %s' % (e.__class__.__name__, e)
      return 'pydf version: %s\nwkhtmltopdf version: %s' % (VERSION, wk_version)
docs: Get version of pydf and wkhtmltopdf binary
  
      :return: version string