This repository has been archived on 2024-06-23. You can view files and clone it, but cannot push or open issues or pull requests.
mathdeptv2/工具v3/寻找空闲题号.py

28 lines
486 B
Python

from PySide6.QtWidgets import QWidget, QApplication, QFileDialog
from Ui_寻找空闲题号 import Ui_Form
from database_tools_2 import *
class MyWindow(QWidget,Ui_Form):
def __init__(self):
super().__init__()
self.setupUi(self)
self.ShowAvailable()
def ShowAvailable(self):
self.label_Available.setText(spareIDs())
if __name__ == '__main__':
app = QApplication([])
windows = MyWindow()
windows.show()
app.exec()