This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"""PySide2 & OpenGL sample""" | |
import sys | |
from PySide2 import QtCore, QtWidgets, QtOpenGL | |
try: | |
from OpenGL.GL import * | |
except ImportError: | |
app = QtWidgets.QApplication(sys.argv) |