Skip to content

Instantly share code, notes, and snippets.

@empirefx
Created October 19, 2014 20:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save empirefx/49c27b8d82edac9f4ff3 to your computer and use it in GitHub Desktop.
Save empirefx/49c27b8d82edac9f4ff3 to your computer and use it in GitHub Desktop.
#! /usr/bin/env python
# -*- coding: utf-8 -*-
from PyQt4.QtGui import QApplication
from PyQt4.QtCore import QUrl
from PyQt4.QtWebKit import QWebView
from sys import exit, argv
if __name__ == '__main__':
app = QApplication(argv)
view = QWebView()
view.load(QUrl('http://localhost:3000/'))
view.resize(500, 400)
view.setWindowTitle(__file__)
view.show()
exit(app.exec_())
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment