用Sublime Text2编写Python程序运行pyqt的代码窗口出不来的问题
在Sublime Text 2中编写了如下的pyqt代码:
#! /usr/bin/env python
# -*- coding: utf-8 -*-
import sys
from PyQt4.QtGui import *
from PyQt4.QtCore import *
# Create a Qt application
app = QApplication(sys.argv)
# Create a Label and show it
label = QLabel("Hello World")
label.show()
# Enter Qt appli