2024-07-14 10:18:14 +00:00
|
|
|
from PyQt5.QtWidgets import QWidget, QApplication
|
2024-07-14 15:04:40 +00:00
|
|
|
from frame.CompareWindow import CompareWin
|
2024-07-14 10:18:14 +00:00
|
|
|
from sys import argv
|
2024-07-14 12:25:59 +00:00
|
|
|
from parse.ast_load import global_ast_path, AstParse
|
2024-07-14 10:18:14 +00:00
|
|
|
|
|
|
|
|
2024-07-14 12:25:59 +00:00
|
|
|
tool = AstParse(global_ast_path)
|
|
|
|
print(tool.generate_time())
|
2024-07-14 15:04:40 +00:00
|
|
|
storys = tool.peak_storylines()
|
|
|
|
storys_2 = tool.peak_storylines()
|
|
|
|
defferent_list = tool.storylines_compare(storys, storys_2)
|
|
|
|
|
|
|
|
app = QApplication(argv)
|
|
|
|
win = CompareWin()
|
|
|
|
win.load_differents(defferent_list, storys, storys_2)
|
|
|
|
win.show()
|
|
|
|
app.exec()
|