Salome HOME
style: black format
[tools/sat.git] / data / templates / PythonComponent8 / src / StandAlone / StandalonePYCMPGUI.py
index 45be4e97cd95404c2df6578d207dd33d425a3717..0712e48b3cd96ddacee22bfced0d97221d4ef653 100755 (executable)
@@ -1,21 +1,22 @@
 import sys
 
-from PyQt5.QtCore    import *
-from PyQt5.QtGui     import *
+from PyQt5.QtCore import *
+from PyQt5.QtGui import *
 from PyQt5.QtWidgets import *
 
 from Controller import Controller
 from Desktop import Desktop
 
-def main( args ) :
-    Appli = QApplication( args )
+
+def main(args):
+    Appli = QApplication(args)
     MainFrame = Desktop()
-    myController = Controller( MainFrame )
-    MainFrame.setController( myController )
+    myController = Controller(MainFrame)
+    MainFrame.setController(myController)
     MainFrame.show()
     Appli.exec_()
 
-if __name__ == "__main__" :
-   main( sys.argv )
-   pass
 
+if __name__ == "__main__":
+    main(sys.argv)
+    pass