From 2d46194636b4deca52c14099b5736b87814baf71 Mon Sep 17 00:00:00 2001 From: zj3D Date: Thu, 21 Mar 2024 12:08:47 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=A7=E4=BF=AE=2011?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 13 多计算单元/数据共享/2 服务进程.py | 4 +++- .../终端命令行/command_line_1.py | 0 .../终端命令行/command_line_2.py | 0 .../终端菜单/terminal_menu.py | 0 .../{终端 => 1 终端}/终端菜单/test.txt | 0 14 人机交互/{视窗 => 2 视窗}/PyQT.py | 0 14 人机交互/{视窗 => 2 视窗}/test.txt | 0 14 人机交互/{Web => 3 Web}/MVC/app.py | 0 14 人机交互/{Web => 3 Web}/MVC/models.py | 0 .../{Web => 3 Web}/MVC/templates/index.html | 0 14 人机交互/{Web => 3 Web}/simpleWeb/app.py | 0 .../{Web => 3 Web}/simpleWeb/templates/index.html | 0 .../{Web => 3 Web}/simpleWeb/templates/result.html | 0 .../1 消息驱动的组件/1 指令驱动.py | 0 .../1 消息驱动的组件/2 去中心化开始.py | 0 .../1 消息驱动的组件/3 仅有消息接口.py | 0 .../2 注册登记}/注册回调.py | 0 .../2 注册登记}/消息订阅.py | 0 .../3 微服务}/client_app.py | 0 .../3 微服务}/counter_service.py | 0 .../3 微服务}/sorter_service.py | 0 .../3 微服务}/tokenizer_service.py | 0 .../restful => 1 松耦合/4 restful}/app.py | 0 .../restful => 1 松耦合/4 restful}/client.py | 0 .../5 插件}/__pycache__/tf-20.cpython-38.pyc | Bin .../插件 => 1 松耦合/5 插件}/config.ini | 0 .../5 插件}/plugins-src/compile.sh | 0 .../5 插件}/plugins-src/frequencies1.py | 0 .../5 插件}/plugins-src/frequencies2.py | 0 .../5 插件}/plugins-src/words1.py | 0 .../5 插件}/plugins-src/words2.py | 0 .../5 插件}/plugins/frequencies1.pyc | Bin .../5 插件}/plugins/frequencies2.cpython-38.pyc | Bin .../5 插件}/plugins/words1.pyc | Bin .../5 插件}/plugins/words2.cpython-38.pyc | Bin .../插件 => 1 松耦合/5 插件}/tf-20.py | 0 .../{对象接口 => 2 对象接口}/tf-14A.py | 0 .../{对象接口 => 2 对象接口}/tf-14B.py | 0 .../{类型申明 => 3 类型申明}/24A.py | 0 .../{类型申明 => 3 类型申明}/24B.py | 0 40 files changed, 3 insertions(+), 1 deletion(-) rename 14 人机交互/{终端 => 1 终端}/终端命令行/command_line_1.py (100%) rename 14 人机交互/{终端 => 1 终端}/终端命令行/command_line_2.py (100%) rename 14 人机交互/{终端 => 1 终端}/终端菜单/terminal_menu.py (100%) rename 14 人机交互/{终端 => 1 终端}/终端菜单/test.txt (100%) rename 14 人机交互/{视窗 => 2 视窗}/PyQT.py (100%) rename 14 人机交互/{视窗 => 2 视窗}/test.txt (100%) rename 14 人机交互/{Web => 3 Web}/MVC/app.py (100%) rename 14 人机交互/{Web => 3 Web}/MVC/models.py (100%) rename 14 人机交互/{Web => 3 Web}/MVC/templates/index.html (100%) rename 14 人机交互/{Web => 3 Web}/simpleWeb/app.py (100%) rename 14 人机交互/{Web => 3 Web}/simpleWeb/templates/index.html (100%) rename 14 人机交互/{Web => 3 Web}/simpleWeb/templates/result.html (100%) rename 15 工程化/{松耦合 => 1 松耦合}/1 消息驱动的组件/1 指令驱动.py (100%) rename 15 工程化/{松耦合 => 1 松耦合}/1 消息驱动的组件/2 去中心化开始.py (100%) rename 15 工程化/{松耦合 => 1 松耦合}/1 消息驱动的组件/3 仅有消息接口.py (100%) rename 15 工程化/{松耦合/注册登记 => 1 松耦合/2 注册登记}/注册回调.py (100%) rename 15 工程化/{松耦合/注册登记 => 1 松耦合/2 注册登记}/消息订阅.py (100%) rename 15 工程化/{松耦合/微服务 => 1 松耦合/3 微服务}/client_app.py (100%) rename 15 工程化/{松耦合/微服务 => 1 松耦合/3 微服务}/counter_service.py (100%) rename 15 工程化/{松耦合/微服务 => 1 松耦合/3 微服务}/sorter_service.py (100%) rename 15 工程化/{松耦合/微服务 => 1 松耦合/3 微服务}/tokenizer_service.py (100%) rename 15 工程化/{松耦合/restful => 1 松耦合/4 restful}/app.py (100%) rename 15 工程化/{松耦合/restful => 1 松耦合/4 restful}/client.py (100%) rename 15 工程化/{松耦合/插件 => 1 松耦合/5 插件}/__pycache__/tf-20.cpython-38.pyc (100%) rename 15 工程化/{松耦合/插件 => 1 松耦合/5 插件}/config.ini (100%) rename 15 工程化/{松耦合/插件 => 1 松耦合/5 插件}/plugins-src/compile.sh (100%) rename 15 工程化/{松耦合/插件 => 1 松耦合/5 插件}/plugins-src/frequencies1.py (100%) rename 15 工程化/{松耦合/插件 => 1 松耦合/5 插件}/plugins-src/frequencies2.py (100%) rename 15 工程化/{松耦合/插件 => 1 松耦合/5 插件}/plugins-src/words1.py (100%) rename 15 工程化/{松耦合/插件 => 1 松耦合/5 插件}/plugins-src/words2.py (100%) rename 15 工程化/{松耦合/插件 => 1 松耦合/5 插件}/plugins/frequencies1.pyc (100%) rename 15 工程化/{松耦合/插件 => 1 松耦合/5 插件}/plugins/frequencies2.cpython-38.pyc (100%) rename 15 工程化/{松耦合/插件 => 1 松耦合/5 插件}/plugins/words1.pyc (100%) rename 15 工程化/{松耦合/插件 => 1 松耦合/5 插件}/plugins/words2.cpython-38.pyc (100%) rename 15 工程化/{松耦合/插件 => 1 松耦合/5 插件}/tf-20.py (100%) rename 15 工程化/{对象接口 => 2 对象接口}/tf-14A.py (100%) rename 15 工程化/{对象接口 => 2 对象接口}/tf-14B.py (100%) rename 15 工程化/{类型申明 => 3 类型申明}/24A.py (100%) rename 15 工程化/{类型申明 => 3 类型申明}/24B.py (100%) diff --git a/13 多计算单元/数据共享/2 服务进程.py b/13 多计算单元/数据共享/2 服务进程.py index 1ee93eb..a047b1b 100644 --- a/13 多计算单元/数据共享/2 服务进程.py +++ b/13 多计算单元/数据共享/2 服务进程.py @@ -29,6 +29,7 @@ def process_chunk(shared_chunks,word_count): print(e) break + @timing_decorator def main(): # 创建一个Manager实例 @@ -56,5 +57,6 @@ def main(): word_freqs = Counter(word_count).most_common(10) print_word_freqs(word_freqs) + if __name__ == '__main__': - main() + main() \ No newline at end of file diff --git a/14 人机交互/终端/终端命令行/command_line_1.py b/14 人机交互/1 终端/终端命令行/command_line_1.py similarity index 100% rename from 14 人机交互/终端/终端命令行/command_line_1.py rename to 14 人机交互/1 终端/终端命令行/command_line_1.py diff --git a/14 人机交互/终端/终端命令行/command_line_2.py b/14 人机交互/1 终端/终端命令行/command_line_2.py similarity index 100% rename from 14 人机交互/终端/终端命令行/command_line_2.py rename to 14 人机交互/1 终端/终端命令行/command_line_2.py diff --git a/14 人机交互/终端/终端菜单/terminal_menu.py b/14 人机交互/1 终端/终端菜单/terminal_menu.py similarity index 100% rename from 14 人机交互/终端/终端菜单/terminal_menu.py rename to 14 人机交互/1 终端/终端菜单/terminal_menu.py diff --git a/14 人机交互/终端/终端菜单/test.txt b/14 人机交互/1 终端/终端菜单/test.txt similarity index 100% rename from 14 人机交互/终端/终端菜单/test.txt rename to 14 人机交互/1 终端/终端菜单/test.txt diff --git a/14 人机交互/视窗/PyQT.py b/14 人机交互/2 视窗/PyQT.py similarity index 100% rename from 14 人机交互/视窗/PyQT.py rename to 14 人机交互/2 视窗/PyQT.py diff --git a/14 人机交互/视窗/test.txt b/14 人机交互/2 视窗/test.txt similarity index 100% rename from 14 人机交互/视窗/test.txt rename to 14 人机交互/2 视窗/test.txt diff --git a/14 人机交互/Web/MVC/app.py b/14 人机交互/3 Web/MVC/app.py similarity index 100% rename from 14 人机交互/Web/MVC/app.py rename to 14 人机交互/3 Web/MVC/app.py diff --git a/14 人机交互/Web/MVC/models.py b/14 人机交互/3 Web/MVC/models.py similarity index 100% rename from 14 人机交互/Web/MVC/models.py rename to 14 人机交互/3 Web/MVC/models.py diff --git a/14 人机交互/Web/MVC/templates/index.html b/14 人机交互/3 Web/MVC/templates/index.html similarity index 100% rename from 14 人机交互/Web/MVC/templates/index.html rename to 14 人机交互/3 Web/MVC/templates/index.html diff --git a/14 人机交互/Web/simpleWeb/app.py b/14 人机交互/3 Web/simpleWeb/app.py similarity index 100% rename from 14 人机交互/Web/simpleWeb/app.py rename to 14 人机交互/3 Web/simpleWeb/app.py diff --git a/14 人机交互/Web/simpleWeb/templates/index.html b/14 人机交互/3 Web/simpleWeb/templates/index.html similarity index 100% rename from 14 人机交互/Web/simpleWeb/templates/index.html rename to 14 人机交互/3 Web/simpleWeb/templates/index.html diff --git a/14 人机交互/Web/simpleWeb/templates/result.html b/14 人机交互/3 Web/simpleWeb/templates/result.html similarity index 100% rename from 14 人机交互/Web/simpleWeb/templates/result.html rename to 14 人机交互/3 Web/simpleWeb/templates/result.html diff --git a/15 工程化/松耦合/1 消息驱动的组件/1 指令驱动.py b/15 工程化/1 松耦合/1 消息驱动的组件/1 指令驱动.py similarity index 100% rename from 15 工程化/松耦合/1 消息驱动的组件/1 指令驱动.py rename to 15 工程化/1 松耦合/1 消息驱动的组件/1 指令驱动.py diff --git a/15 工程化/松耦合/1 消息驱动的组件/2 去中心化开始.py b/15 工程化/1 松耦合/1 消息驱动的组件/2 去中心化开始.py similarity index 100% rename from 15 工程化/松耦合/1 消息驱动的组件/2 去中心化开始.py rename to 15 工程化/1 松耦合/1 消息驱动的组件/2 去中心化开始.py diff --git a/15 工程化/松耦合/1 消息驱动的组件/3 仅有消息接口.py b/15 工程化/1 松耦合/1 消息驱动的组件/3 仅有消息接口.py similarity index 100% rename from 15 工程化/松耦合/1 消息驱动的组件/3 仅有消息接口.py rename to 15 工程化/1 松耦合/1 消息驱动的组件/3 仅有消息接口.py diff --git a/15 工程化/松耦合/注册登记/注册回调.py b/15 工程化/1 松耦合/2 注册登记/注册回调.py similarity index 100% rename from 15 工程化/松耦合/注册登记/注册回调.py rename to 15 工程化/1 松耦合/2 注册登记/注册回调.py diff --git a/15 工程化/松耦合/注册登记/消息订阅.py b/15 工程化/1 松耦合/2 注册登记/消息订阅.py similarity index 100% rename from 15 工程化/松耦合/注册登记/消息订阅.py rename to 15 工程化/1 松耦合/2 注册登记/消息订阅.py diff --git a/15 工程化/松耦合/微服务/client_app.py b/15 工程化/1 松耦合/3 微服务/client_app.py similarity index 100% rename from 15 工程化/松耦合/微服务/client_app.py rename to 15 工程化/1 松耦合/3 微服务/client_app.py diff --git a/15 工程化/松耦合/微服务/counter_service.py b/15 工程化/1 松耦合/3 微服务/counter_service.py similarity index 100% rename from 15 工程化/松耦合/微服务/counter_service.py rename to 15 工程化/1 松耦合/3 微服务/counter_service.py diff --git a/15 工程化/松耦合/微服务/sorter_service.py b/15 工程化/1 松耦合/3 微服务/sorter_service.py similarity index 100% rename from 15 工程化/松耦合/微服务/sorter_service.py rename to 15 工程化/1 松耦合/3 微服务/sorter_service.py diff --git a/15 工程化/松耦合/微服务/tokenizer_service.py b/15 工程化/1 松耦合/3 微服务/tokenizer_service.py similarity index 100% rename from 15 工程化/松耦合/微服务/tokenizer_service.py rename to 15 工程化/1 松耦合/3 微服务/tokenizer_service.py diff --git a/15 工程化/松耦合/restful/app.py b/15 工程化/1 松耦合/4 restful/app.py similarity index 100% rename from 15 工程化/松耦合/restful/app.py rename to 15 工程化/1 松耦合/4 restful/app.py diff --git a/15 工程化/松耦合/restful/client.py b/15 工程化/1 松耦合/4 restful/client.py similarity index 100% rename from 15 工程化/松耦合/restful/client.py rename to 15 工程化/1 松耦合/4 restful/client.py diff --git a/15 工程化/松耦合/插件/__pycache__/tf-20.cpython-38.pyc b/15 工程化/1 松耦合/5 插件/__pycache__/tf-20.cpython-38.pyc similarity index 100% rename from 15 工程化/松耦合/插件/__pycache__/tf-20.cpython-38.pyc rename to 15 工程化/1 松耦合/5 插件/__pycache__/tf-20.cpython-38.pyc diff --git a/15 工程化/松耦合/插件/config.ini b/15 工程化/1 松耦合/5 插件/config.ini similarity index 100% rename from 15 工程化/松耦合/插件/config.ini rename to 15 工程化/1 松耦合/5 插件/config.ini diff --git a/15 工程化/松耦合/插件/plugins-src/compile.sh b/15 工程化/1 松耦合/5 插件/plugins-src/compile.sh similarity index 100% rename from 15 工程化/松耦合/插件/plugins-src/compile.sh rename to 15 工程化/1 松耦合/5 插件/plugins-src/compile.sh diff --git a/15 工程化/松耦合/插件/plugins-src/frequencies1.py b/15 工程化/1 松耦合/5 插件/plugins-src/frequencies1.py similarity index 100% rename from 15 工程化/松耦合/插件/plugins-src/frequencies1.py rename to 15 工程化/1 松耦合/5 插件/plugins-src/frequencies1.py diff --git a/15 工程化/松耦合/插件/plugins-src/frequencies2.py b/15 工程化/1 松耦合/5 插件/plugins-src/frequencies2.py similarity index 100% rename from 15 工程化/松耦合/插件/plugins-src/frequencies2.py rename to 15 工程化/1 松耦合/5 插件/plugins-src/frequencies2.py diff --git a/15 工程化/松耦合/插件/plugins-src/words1.py b/15 工程化/1 松耦合/5 插件/plugins-src/words1.py similarity index 100% rename from 15 工程化/松耦合/插件/plugins-src/words1.py rename to 15 工程化/1 松耦合/5 插件/plugins-src/words1.py diff --git a/15 工程化/松耦合/插件/plugins-src/words2.py b/15 工程化/1 松耦合/5 插件/plugins-src/words2.py similarity index 100% rename from 15 工程化/松耦合/插件/plugins-src/words2.py rename to 15 工程化/1 松耦合/5 插件/plugins-src/words2.py diff --git a/15 工程化/松耦合/插件/plugins/frequencies1.pyc b/15 工程化/1 松耦合/5 插件/plugins/frequencies1.pyc similarity index 100% rename from 15 工程化/松耦合/插件/plugins/frequencies1.pyc rename to 15 工程化/1 松耦合/5 插件/plugins/frequencies1.pyc diff --git a/15 工程化/松耦合/插件/plugins/frequencies2.cpython-38.pyc b/15 工程化/1 松耦合/5 插件/plugins/frequencies2.cpython-38.pyc similarity index 100% rename from 15 工程化/松耦合/插件/plugins/frequencies2.cpython-38.pyc rename to 15 工程化/1 松耦合/5 插件/plugins/frequencies2.cpython-38.pyc diff --git a/15 工程化/松耦合/插件/plugins/words1.pyc b/15 工程化/1 松耦合/5 插件/plugins/words1.pyc similarity index 100% rename from 15 工程化/松耦合/插件/plugins/words1.pyc rename to 15 工程化/1 松耦合/5 插件/plugins/words1.pyc diff --git a/15 工程化/松耦合/插件/plugins/words2.cpython-38.pyc b/15 工程化/1 松耦合/5 插件/plugins/words2.cpython-38.pyc similarity index 100% rename from 15 工程化/松耦合/插件/plugins/words2.cpython-38.pyc rename to 15 工程化/1 松耦合/5 插件/plugins/words2.cpython-38.pyc diff --git a/15 工程化/松耦合/插件/tf-20.py b/15 工程化/1 松耦合/5 插件/tf-20.py similarity index 100% rename from 15 工程化/松耦合/插件/tf-20.py rename to 15 工程化/1 松耦合/5 插件/tf-20.py diff --git a/15 工程化/对象接口/tf-14A.py b/15 工程化/2 对象接口/tf-14A.py similarity index 100% rename from 15 工程化/对象接口/tf-14A.py rename to 15 工程化/2 对象接口/tf-14A.py diff --git a/15 工程化/对象接口/tf-14B.py b/15 工程化/2 对象接口/tf-14B.py similarity index 100% rename from 15 工程化/对象接口/tf-14B.py rename to 15 工程化/2 对象接口/tf-14B.py diff --git a/15 工程化/类型申明/24A.py b/15 工程化/3 类型申明/24A.py similarity index 100% rename from 15 工程化/类型申明/24A.py rename to 15 工程化/3 类型申明/24A.py diff --git a/15 工程化/类型申明/24B.py b/15 工程化/3 类型申明/24B.py similarity index 100% rename from 15 工程化/类型申明/24B.py rename to 15 工程化/3 类型申明/24B.py