main.md

2023/10/08 categories:Code| tags:Code|

記事に戻る

# -*- coding: utf-8 -*-
import sys
from PyQt6 import QtWidgets
from pathlib import Path

sys.path.append(str(Path('code').absolute()))
from mainwindow import Mainwindow

def main():
    app = QtWidgets.QApplication(sys.argv)
    window = Mainwindow()
    window.show()
    app.exec()
    
if __name__ == '__main__':
    main()

Share post

Related Posts

コメント