Godpp
2020-02-17 9fc7b48fc1cc765d8a1c3a5b9e3b0ace2670ebc8
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
import sys
import asyncio
from PyQt5.QtWidgets import QApplication
from asyncqt import QEventLoop
from widgets.flash_bootloader_widget import FlashBootloaderWidget
# from widgets.data_identifier_widget import DataIdentifierWidget
# from widgets.diagnostic_trouble_code_widget import DiagnosticTroubleCodeWidget
# from widgets.main_widget import MainWidget
 
if __name__ == '__main__':
 
    app = QApplication(sys.argv)
    loop = QEventLoop(app)
    asyncio.set_event_loop(loop)
 
    # w = MainWidget()
    w = FlashBootloaderWidget()
    # w = DataIdentifierWidget()
    # w = DiagnosticTroubleCodeWidget()
    w.show()
 
    with loop:
        sys.exit(loop.run_forever())
        #Successfully installed altgraph-0.17 future-0.18.2 pefile-2019.4.18 pyinstaller-3.5 pywin32-ctypes-0.2.0