Hey, I am new to programming and following a tut for creating a blank window using python, I've started maya 2022 with python2, what am I doing wrong? this is the exact code used in the tutorial
from PySide2 import QtCore
from PySide2 import QtWidgets
class TestDialog(QtWidgets.QDialog):
def_init_(self, parent=None):
super(TestDialog, self)._init_(parent)
if_name_ == "_main_":
d = TestDialog()
d.show()
thank you.,