Skip to content

Instantly share code, notes, and snippets.

@HarHar
Last active October 8, 2015 21:13
Show Gist options
  • Save HarHar/882bee774b8e7b49cf45 to your computer and use it in GitHub Desktop.
Save HarHar/882bee774b8e7b49cf45 to your computer and use it in GitHub Desktop.
aylmao
#!/usr/bin/env python
import sys
from PyQt4.QtCore import *
from PyQt4.QtGui import *
from PyQt4.QtWebKit import *
app = QApplication(['4chan desktop app'])
desktop = QDesktopWidget()
geometry = desktop.screenGeometry(0)
web = QWebView()
web.load(QUrl("http://boards.4chan.org/g/"))
geometry.setWidth(900)
geometry.setHeight(450)
web.setGeometry(geometry)
web.show()
sys.exit(app.exec_())
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment