Qt (which has Python bindings with PyQt or PySide ) offers Webkit (the same engine as Safari). Creating a simple cross-platform browser is trivially implemented with this.
To show how simple it is (example taken from the link):
#!/usr/bin/env python import sys from PyQt4.QtCore import * from PyQt4.QtGui import * from PyQt4.QtWebKit import * app = QApplication(sys.argv) web = QWebView() web.load(QUrl("http://www.stackoverflow.com")) web.show() sys.exit(app.exec_())
source share