91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

資源簡介

pyqt5圖書管理系統(tǒng)

python pyqt5搭建一個圖書管理系統(tǒng)

終于第一個版本發(fā)布上來了,基本實現(xiàn)都比較簡陋

### 開始
#### 安裝依賴
```sh
pip install PyQt5 -i https://pypi.douban.com/simple
pip install pymysql -i https://pypi.douban.com/simple 
```

#### 安裝數(shù)據(jù)庫
安裝任意一種服務器類型數(shù)據(jù)庫即可[Mariadb下載](https://mariadb.org/)
#### 創(chuàng)建數(shù)據(jù)庫以及建表
進入項目根目錄`cd BookManage`,運行`python generate_data.py`生成數(shù)據(jù)庫文件 

#### 修改數(shù)據(jù)庫的連接屬性
進入util->dbutil文件,修改里面的數(shù)據(jù)庫連接屬性。

#### 運行
進入到項目的根目錄下,
`python run.py`
既可以運行項目。

### 包含功能
1. 權(quán)限分級
    - 普通用戶
    - 管理員用戶
2. 普通用戶
    - 借書
    - 還書
    - 續(xù)借
3. 管理員用戶
    - 添加圖書
    - 編輯圖書
    - 刪除圖書
    - 催還

資源截圖

代碼片段和文件信息

“““
coding:utf-8
file:?frozen_dir.py
@author:?jiangwei
@contact:?jiangwei_1994124@163.com
@time:?2020/5/9?21:28
@desc:
“““
import?sys
import?os


def?app_path():
????if?hasattr(sys?‘frozen‘):
????????return?os.path.dirname(sys.executable)
????return?os.path.dirname(__file__)

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

?????文件???????1209??2020-06-27?10:17??BookManage-master\.gitignore

?????文件????????293??2020-06-27?10:17??BookManage-master\frozen_dir.py

?????文件???????4277??2020-06-27?10:17??BookManage-master\generate_data.py

?????文件??????11357??2020-06-27?10:17??BookManage-master\LICENSE

?????文件???????1291??2020-06-27?10:17??BookManage-master\README.md

?????文件???????4075??2020-06-27?10:17??BookManage-master\res\img\app-icon.png

?????文件???????7840??2020-06-27?10:17??BookManage-master\res\img\borrow_book.png

?????文件??????67646??2020-06-27?10:17??BookManage-master\res\img\delay_time.ico

?????文件??????64574??2020-06-27?10:17??BookManage-master\res\img\delete.ico

?????文件???????4072??2020-06-27?10:17??BookManage-master\res\img\delete.png

?????文件???????4614??2020-06-27?10:17??BookManage-master\res\img\edit.png

?????文件?????336648??2020-06-27?10:17??BookManage-master\res\img\home.png

?????文件??????44606??2020-06-27?10:17??BookManage-master\res\img\push.ico

?????文件??????44942??2020-06-27?10:17??BookManage-master\res\img\return.ico

?????文件????????637??2020-06-27?10:17??BookManage-master\res\style\dark_style.qss

?????文件???????1345??2020-06-27?10:17??BookManage-master\res\style\img\arrow-left.png

?????文件???????1348??2020-06-27?10:17??BookManage-master\res\style\img\arrow-right.png

?????文件????????542??2020-06-27?10:17??BookManage-master\res\style\img\checkbox_checked.png

?????文件????????564??2020-06-27?10:17??BookManage-master\res\style\img\minus.png

?????文件????????392??2020-06-27?10:17??BookManage-master\res\style\img\more.png

?????文件????????983??2020-06-27?10:17??BookManage-master\res\style\img\plus.png

?????文件????????847??2020-06-27?10:17??BookManage-master\res\style\img\Raidobox_checked.png

?????文件????????796??2020-06-27?10:17??BookManage-master\res\style\img\Raidobox_unchecked.png

?????文件????????798??2020-06-27?10:17??BookManage-master\res\style\img\Raidobox_unchecked_hover.png

?????文件????????373??2020-06-27?10:17??BookManage-master\res\style\img\spinbox_down.png

?????文件????????357??2020-06-27?10:17??BookManage-master\res\style\img\spinbox_down_pressed.png

?????文件????????379??2020-06-27?10:17??BookManage-master\res\style\img\spinbox_up.png

?????文件????????363??2020-06-27?10:17??BookManage-master\res\style\img\spinbox_up_pressed.png

?????文件???????3897??2020-06-27?10:17??BookManage-master\res\style\style.qss

?????文件????????355??2020-06-27?10:17??BookManage-master\run.py

............此處省略46個文件信息

評論

共有 條評論