old_contents: #!/usr/bin/env python3
  # -*- coding: utf-8 -*-
  
  # See http://doc.qt.io/qt-5/qwebengineview.html#details
  
  import sys
  from PyQt5.QtCore import *
  from PyQt5.QtWebEngineWidgets import QWebEngineView
  from PyQt5.QtWidgets import QApplication
  
  app = QApplication(sys.argv)
  
  web = QWebEngineView()
  web.load(QUrl("http://www.jdhp.org"))
  web.show()
  
  # The mainloop of the application. The event handling starts from this point.
  # The exec_() method has an underscore. It is because the exec is a Python keyword. And thus, exec_() was used instead.
  exit_code = app.exec_()
  
  # The sys.exit() method ensures a clean exit.
  # The environment will be informed, how the application ended.
  sys.exit(exit_code)
  
new_contents: #!/usr/bin/env python3
  # -*- coding: utf-8 -*-
  
  # See http://doc.qt.io/qt-5/qwebengineview.html#details
  
  # This class replace the deprecated QWebView (based on QtWebKit).
  # See:
  # - https://stackoverflow.com/questions/29055475/qwebview-or-qwebengineview
  # - https://wiki.qt.io/QtWebEngine/Porting_from_QtWebKit
  
  import sys
  from PyQt5.QtCore import *
  from PyQt5.QtWebEngineWidgets import QWebEngineView
  from PyQt5.QtWidgets import QApplication
  
  app = QApplication(sys.argv)
  
  web = QWebEngineView()
  web.load(QUrl("http://www.jdhp.org"))
  web.show()
  
  # The mainloop of the application. The event handling starts from this point.
  # The exec_() method has an underscore. It is because the exec is a Python keyword. And thus, exec_() was used instead.
  exit_code = app.exec_()
  
  # The sys.exit() method ensures a clean exit.
  # The environment will be informed, how the application ended.
  sys.exit(exit_code)
  
subject: Add comments.