Simple browser development :
1、 install Python3.4 Default in C Under the plate :C:\Python34
2、 install PyQt5: The default path :C:\Python34
3、 After the installation , Write a test demo:ps: The tool I use is :PyCharm
import sys
from PyQt5.QtWidgets import *
from PyQt5.QtCore import *
from PyQt5.QtGui import *
class MainWindow(QMainWindow):
def __init__(self,*args,**kwargs):
super().__init__(*args,**kwargs)
self.setWindowTitle("My First App")
label=QLabel("Welcome to xuyanhuiAPP")
label.setAlignment(Qt.AlignCenter)
self.setCentralWidget(label)
app=QApplication(sys.argv)
window=MainWindow()
window.show()
app.exec_()empty