Created
October 19, 2014 20:19
-
-
Save empirefx/49c27b8d82edac9f4ff3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /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