import sys from PyQt6.QtWidgets import QApplication from .ImageEditor import ImageEditor def main(): app = QApplication(sys.argv) editor = ImageEditor() editor.show() sys.exit(app.exec()) if __name__ == "__main__": main()