VTK激光点可视化Python
import sys from PyQt5 import QtWidgets, QtGui __version__ = '0.1.0' __author__ = 'xuxc' __appname__ = 'PyPost' class PyPostMainWindow(QtWidgets.QMainWindow): def __init__(self): super(PyPostMainWindow, self).__init__() self.setWindowTitle('{} - v{}'.format(__appname__, __version__)) if __name__ == '__main__': app = QtWidgets.QApplication(sys.argv) app.setApplicationName('{}'.format(__appname__)) win = PyPostMainWindow() win.show() app.exec_()