Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
18 lines (12 sloc) 341 Bytes
# -*- coding: utf-8 -*-
import sys
from PyQt4 import QtGui
def show_image(image_path='s_pycharm.jpg'):
app = QtGui.QApplication(sys.argv)
pixmap = QtGui.QPixmap(image_path)
screen = QtGui.QLabel()
screen.setPixmap(pixmap)
screen.showFullScreen()
sys.exit(app.exec_())
if __name__ == '__main__':
show_image()