main.py 304 B

1234567891011121314151617
  1. from window.MainWindow import MainWindow
  2. from PySide6.QtWidgets import QApplication
  3. from module.WorkWithDB import init_db
  4. import sys
  5. def main():
  6. init_db()
  7. app = QApplication(sys.argv)
  8. window = MainWindow()
  9. window.show()
  10. sys.exit(app.exec())
  11. if __name__ == "__main__":
  12. main()