Update .gitignore and format __main__.py
This commit is contained in:
parent
866f57569a
commit
d72d8c751d
1
.gitignore
vendored
1
.gitignore
vendored
@ -73,6 +73,7 @@ __pycache__/
|
||||
dist/*
|
||||
build/*
|
||||
ui_*.py
|
||||
.ropeproject/
|
||||
|
||||
# Binaries
|
||||
# --------
|
||||
|
@ -1,14 +1,16 @@
|
||||
# This Python file uses the following encoding: utf-8
|
||||
# coding=utf-8
|
||||
|
||||
from PySide6.QtWidgets import QApplication
|
||||
from . import MainWindow
|
||||
import sys
|
||||
|
||||
|
||||
def main():
|
||||
app = QApplication(sys.argv)
|
||||
widget = MainWindow()
|
||||
widget.show()
|
||||
sys.exit(app.exec())
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
|
Loading…
x
Reference in New Issue
Block a user