资源简介

图书管理系统


使用说明 功能演示:

下载整个程序包,确保系统有python3环境,打开cmd,输入命令(替换成本机的工程目录地址): python F:\book_management_sys\book_management_sys.py runserver

浏览器输入 http://127.0.0.1:5000/ 进入系统

系统分两类用户:普通读者用户,管理员用户。

普通读者用户可以查看图书信息和查看借阅记录,在登录页顶端导航栏切换功能,不用输入用户名、密码。

管理员用户可使用一切功能,账号、密码登陆后,进行日常业务操作。

测试数据: 图书信息书名可填写“学习”“机器”,类别可填写“计算机”等;学生借阅卡可填写:16000001,16000002,16000003(该卡无借阅记录);


代码片段和文件信息

import sys
from PyQt5.QtWidgets import QApplication
from model import main_widget database


def main():
    database.init_database()
    app = QApplication(sys.argv)
    ex = main_widget.MainWindow()
    ex.show()
    sys.exit(app.exec_())


if __name__ == ‘__main__‘:
    main()

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2019-07-07 08:50  library_system-master\
     文件          45  2019-07-07 08:50  library_system-master\.gitignore
     目录           0  2019-07-07 08:50  library_system-master\.vscode\
     文件        1854  2019-07-07 08:50  library_system-master\.vscode\launch.json
     文件          70  2019-07-07 08:50  library_system-master\.vscode\settings.json
     文件        1303  2019-07-07 08:50  library_system-master\TODO.md
     文件         961  2019-07-07 08:50  library_system-master\design.md
     目录           0  2019-07-07 08:50  library_system-master\icon\
     文件        2925  2019-07-07 08:50  library_system-master\icon\book.png
     文件        3687  2019-07-07 08:50  library_system-master\icon\borrowing.png
     文件        4057  2019-07-07 08:50  library_system-master\icon\detial.png
     文件       16031  2019-07-07 08:50  library_system-master\icon\history.png
     文件        4811  2019-07-07 08:50  library_system-master\icon\person.png
     文件         282  2019-07-07 08:50  library_system-master\main.py
     目录           0  2019-07-07 08:50  library_system-master\model\
     文件           0  2019-07-07 08:50  library_system-master\model\__init__.py
     目录           0  2019-07-07 08:50  library_system-master\model\__pycache__\
     文件         136  2019-07-07 08:50  library_system-master\model\__pycache__\__init__.cpython-37.pyc
     文件       31929  2019-07-07 08:50  library_system-master\model\__pycache__\administrator.cpython-37.pyc
     文件        6582  2019-07-07 08:50  library_system-master\model\__pycache__\book_information.cpython-37.pyc
     文件        6518  2019-07-07 08:50  library_system-master\model\__pycache__\database.cpython-36.pyc
     文件       23859  2019-07-07 08:50  library_system-master\model\__pycache__\database.cpython-37.pyc
     文件        3485  2019-07-07 08:50  library_system-master\model\__pycache__\login.cpython-36.pyc
     文件        3486  2019-07-07 08:50  library_system-master\model\__pycache__\login.cpython-37.pyc
     文件        3764  2019-07-07 08:50  library_system-master\model\__pycache__\main_widget.cpython-37.pyc
     文件        4663  2019-07-07 08:50  library_system-master\model\__pycache__\signup.cpython-36.pyc
     文件        5137  2019-07-07 08:50  library_system-master\model\__pycache__\signup.cpython-37.pyc
     文件       19597  2019-07-07 08:50  library_system-master\model\__pycache__\student.cpython-36.pyc
     文件       26785  2019-07-07 08:50  library_system-master\model\__pycache__\student.cpython-37.pyc
     文件        5834  2019-07-07 08:50  library_system-master\model\__pycache__\student_information.cpython-37.pyc
     文件       39178  2019-07-07 08:50  library_system-master\model\administrator.py
............此处省略21个文件信息

评论

共有 条评论