main.py

2021/10/06 categories:Code| tags:Code|python|

記事に戻る

# -*- 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

Comments

comments powered by Disqus