diff --git a/xyz_ke/.idea/.gitignore b/pythonProject100/.idea/.gitignore
similarity index 100%
rename from xyz_ke/.idea/.gitignore
rename to pythonProject100/.idea/.gitignore
diff --git a/xyz_ke/.idea/inspectionProfiles/profiles_settings.xml b/pythonProject100/.idea/inspectionProfiles/profiles_settings.xml
similarity index 100%
rename from xyz_ke/.idea/inspectionProfiles/profiles_settings.xml
rename to pythonProject100/.idea/inspectionProfiles/profiles_settings.xml
diff --git a/xyz_ke/.idea/misc.xml b/pythonProject100/.idea/misc.xml
similarity index 52%
rename from xyz_ke/.idea/misc.xml
rename to pythonProject100/.idea/misc.xml
index 0a8ed37..4bc8c6c 100644
--- a/xyz_ke/.idea/misc.xml
+++ b/pythonProject100/.idea/misc.xml
@@ -1,7 +1,7 @@
-
+
-
+
\ No newline at end of file
diff --git a/xyz_ke/.idea/modules.xml b/pythonProject100/.idea/modules.xml
similarity index 51%
rename from xyz_ke/.idea/modules.xml
rename to pythonProject100/.idea/modules.xml
index 954fecd..5c58315 100644
--- a/xyz_ke/.idea/modules.xml
+++ b/pythonProject100/.idea/modules.xml
@@ -2,7 +2,7 @@
-
+
\ No newline at end of file
diff --git a/xyz_ke/.idea/xyz_ke.iml b/pythonProject100/.idea/pythonProject100.iml
similarity index 100%
rename from xyz_ke/.idea/xyz_ke.iml
rename to pythonProject100/.idea/pythonProject100.iml
diff --git a/pythonProject100/__pycache__/pymysql.cpython-312.pyc b/pythonProject100/__pycache__/pymysql.cpython-312.pyc
new file mode 100644
index 0000000..3877040
Binary files /dev/null and b/pythonProject100/__pycache__/pymysql.cpython-312.pyc differ
diff --git a/xyz_ke/main.py b/pythonProject100/main.py
similarity index 99%
rename from xyz_ke/main.py
rename to pythonProject100/main.py
index 523c502..07bcc46 100644
--- a/xyz_ke/main.py
+++ b/pythonProject100/main.py
@@ -1,5 +1,3 @@
-#!/usr/bin/python3
-
import pymysql
from tkinter import ttk
import tkinter as tk
@@ -66,7 +64,7 @@ class AdminPage:
admin_pass = None
# 数据库操作 查询管理员表
- db = pymysql.connect("localhost", "root", "root", "student") # 打开数据库连接
+ db = pymysql.connect("localhost", "root", "123456", "student") # 打开数据库连接
cursor = db.cursor() # 使用cursor()方法获取操作游标
sql = "SELECT * FROM admin_login_k WHERE admin_id = '%s'" % (self.admin_username.get()) # SQL 查询语句
try:
@@ -129,7 +127,7 @@ class StudentPage:
stu_pass = None
# 数据库操作 查询管理员表
- db = pymysql.connect("localhost", "root", "root", "student") # 打开数据库连接
+ db = pymysql.connect("localhost", "root", "123456", "student") # 打开数据库连接
cursor = db.cursor() # 使用cursor()方法获取操作游标
sql = "SELECT * FROM stu_login_k WHERE stu_id = '%s'" % (self.student_id.get()) # SQL 查询语句
try:
diff --git a/pythonProject100/pymysql.py b/pythonProject100/pymysql.py
new file mode 100644
index 0000000..fd40910
--- /dev/null
+++ b/pythonProject100/pymysql.py
@@ -0,0 +1,4 @@
+
+
+
+
diff --git a/xyz_ke/.idea/workspace.xml b/xyz_ke/.idea/workspace.xml
deleted file mode 100644
index 496b50f..0000000
--- a/xyz_ke/.idea/workspace.xml
+++ /dev/null
@@ -1,96 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
- {
- "associatedIndex": 2
-}
-
-
-
-
-
- {
- "keyToString": {
- "Python.main.executor": "Run",
- "RunOnceActivity.ShowReadmeOnStart": "true",
- "node.js.detected.package.eslint": "true",
- "node.js.detected.package.tslint": "true",
- "node.js.selected.package.eslint": "(autodetect)",
- "node.js.selected.package.tslint": "(autodetect)",
- "nodejs_package_manager_path": "npm",
- "vue.rearranger.settings.migration": "true"
- }
-}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1716434556027
-
-
- 1716434556027
-
-
-
-
-
-
-
-
-
-
-
-
- file://$PROJECT_DIR$/main.py
- 4
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/xyz_ke/desktop.ini b/xyz_ke/desktop.ini
deleted file mode 100644
index 5ea1bcc..0000000
--- a/xyz_ke/desktop.ini
+++ /dev/null
@@ -1,2 +0,0 @@
-[.ShellClassInfo]
-LocalizedResourceName=@xyz_ke,0
diff --git a/xyz_ke/student.db b/xyz_ke/student.db
deleted file mode 100644
index e69de29..0000000
diff --git a/课程设计报告/python程序设计课程设计报告模板 2024年.doc b/课程设计报告/python程序设计课程设计报告模板 2024年.doc
new file mode 100644
index 0000000..c8b7530
Binary files /dev/null and b/课程设计报告/python程序设计课程设计报告模板 2024年.doc differ
diff --git a/课程设计报告/功能模块图.eddx b/课程设计报告/功能模块图.eddx
new file mode 100644
index 0000000..0e4b12f
Binary files /dev/null and b/课程设计报告/功能模块图.eddx differ