# practice **Repository Path**: cats-going-abroad/practice ## Basic Information - **Project Name**: practice - **Description**: 1. 设计模式的实战代码 2. 多进程的学习及实战代码 - **Primary Language**: Python - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-03-28 - **Last Updated**: 2024-11-18 ## Categories & Tags **Categories**: Uncategorized **Tags**: 设计模式, 多进程 ## README ## 简介 此仓库是将自己看到的内容、学习到的内容,进行实战记录。[个人blog](http://ericturbo.com)作为代码逻辑的补充 ## 目录介绍 1. DesignPattern ``` 在微信中看到的设计模式,讲解很详细,并且举例清楚,所以按照微信自己实战了一番 也慢慢培养自己,写代码的时候考虑上设计模式 ``` [设计模式 from wechat](https://mp.weixin.qq.com/s/vch7-lT6qamJ8iQ0VjpRQA) 2. PoolClassGuide ```log 在阅读vector-benchmark看到的工具,例如:imap,map_async的使用,在网上找到资料 ``` 个人博客有详细的总结:[多进程Pool分发任务](https://www.ericturbo.top/post/151#need%20to%20issue%20Tasks%20to%20the%20Process%20Pool) 3. use_tqdm.py ```shell # 简介 是一个用于在Python中显示进度条,在阅读vector-benchmark看到的工具,非常不错 # 安装 pip install tqdm # 运行 python use_tqdm.py ``` 4. pip_ignore.py ```shell pip安装所有文件,忽视错误,不会出现终止 ,自动重新安装未安装的文件(此次不会要求版本的问题) ``` 5. validate_id_card.py ```shell 按照国家要求来检查身份证是否合法 ``` 6. wsgi_server.py ``` wsgi示例程序 ```