diff --git a/Python程序设计/1学生课程设计资料袋材料.doc b/Python程序设计/1学生课程设计资料袋材料.doc new file mode 100644 index 0000000..99b943b Binary files /dev/null and b/Python程序设计/1学生课程设计资料袋材料.doc differ diff --git a/Python程序设计/2课程设计任务书.doc b/Python程序设计/2课程设计任务书.doc new file mode 100644 index 0000000..7caab12 Binary files /dev/null and b/Python程序设计/2课程设计任务书.doc differ diff --git a/Python程序设计/3课程设计说明书.doc b/Python程序设计/3课程设计说明书.doc new file mode 100644 index 0000000..594736d Binary files /dev/null and b/Python程序设计/3课程设计说明书.doc differ diff --git a/train ticket/man.txt b/train ticket/man.txt deleted file mode 100644 index a22fd0f..0000000 --- a/train ticket/man.txt +++ /dev/null @@ -1 +0,0 @@ -234689931 С K213 2024.6.1 1 diff --git a/train ticket/train.txt b/train ticket/train.txt deleted file mode 100644 index 78aa48d..0000000 --- a/train ticket/train.txt +++ /dev/null @@ -1,2 +0,0 @@ -35839 ¦ 2024.6.1 20 500 -K213 2024.6.1 1501 499 diff --git a/train代码/man.txt b/train代码/man.txt new file mode 100644 index 0000000..72e2315 --- /dev/null +++ b/train代码/man.txt @@ -0,0 +1 @@ +234236 С k123 2024.6.2 9 diff --git a/train代码/train.txt b/train代码/train.txt new file mode 100644 index 0000000..2edac30 --- /dev/null +++ b/train代码/train.txt @@ -0,0 +1,3 @@ +35839 ¦ 2024.6.1 20 500 +K213 2024.6.1 1501 500 +k123 ɳ 2024.6.2 20 491 diff --git a/train ticket/订票系统.py b/train代码/订票系统.py similarity index 99% rename from train ticket/订票系统.py rename to train代码/订票系统.py index 383d18a..5c491fe 100644 --- a/train ticket/订票系统.py +++ b/train代码/订票系统.py @@ -29,7 +29,6 @@ class Users: self.seating = 0 def Init(trainlist): - print("初始化......") file_object = open('train.txt', 'r') for line in file_object: tra = Train() @@ -55,7 +54,6 @@ def Init(trainlist): user.seating = m[4] people.append(user) man_object.close() - print("初始化成功!") class ADD: def Add_f(self): @@ -328,7 +326,6 @@ class BTT: changeID = str(ID.get()) for item in trainlist: if item.ID == changeID: - # trainlist.remove(item) file_object = open("train.txt", "w") for tra in trainlist: file_object.write(tra.ID)