ProgrammingHero1 / my_cool_browser

110 stars 166 forks source link

We should also write the main function #15

Open sudhanshuy17 opened 1 year ago

sudhanshuy17 commented 1 year ago

if name == 'main': app = QApplication(sys.argv) QApplication.setApplicationName('Helical Browser') window = MainWindow() app.exec_()

we can write these main lines of the code inside the main function

if name = 'main' for faster execution of our code..