Skip to content

b84955189/ThesisSummarizing

Repository files navigation

Thesis Summarizing


Translation

简体中文

English


Introduce

Use Python to achieve automatic processing of paper grading information.

Basic task: Generate Word files with certain formats for each student's different scoring records (Excel data). The Word template file needs to be provided by the user.

GUI

GUI file was generated by the Tkinter Designer by Parth Jadhav.

Repository: https://github.com/ParthJadhav/Tkinter-Designer

示例

示例图片

Third-party module

openpyxl

A Python library to read/write Excel 2010 xlsx/xlsm files.

Docs:https://openpyxl.readthedocs.io/

python-docx

python-docx is a Python library for creating and updating Microsoft Word (.docx) files.

Docs:https://python-docx.readthedocs.io/

Packaging

The project distribution uses the PyInstaller third-party library for packaging. The sample package configuration file is provided in this project path. You can use and package it by modifying it to your own project path.

pack-config-template.spec

···
···
···
a = Analysis(['main.py',
'【Your project path】\\ThesisSummarizing\\func\\CommonTools.py',
'【Your project path】\\ThesisSummarizing\\func\\ExcelFunc.py',
'【Your project path】\\ThesisSummarizing\\func\\WordFunc.py',
'【Your project path】\\ThesisSummarizing\\gui\\gui.py',
'【Your project path】\\ThesisSummarizing\\model\\Config.py',
'【Your project path】\\ThesisSummarizing\\model\\EnumModels.py',
'【Your project path】\\ThesisSummarizing\\model\\ExceptionModels.py',
'【Your project path】\\ThesisSummarizing\\model\\RatingModels.py',
'【Your project path】\\ThesisSummarizing\\model\\ExceptionModels.py',
'【Your project path】\\ThesisSummarizing\\venv\\Lib\\site-packages\\openpyxl\\__init__.py',
'【Your project path】\\ThesisSummarizing\\venv\\Lib\\site-packages\\docx\\__init__.py'
],
···
···
···

Perform packaging

pyinstaller -i xx.ico pack-config-template.spec

Contact