Coder Social home page Coder Social logo

python_practice's Introduction

项目简介

本项目主要用于记录《python3面向对象编程》的案例学习,后续如果自己有做一些python的练手也会存在这个项目中。

目录

  • notebook: 第二章 命令行笔记本应用
  • house_agent: 第三章 房地产应用
  • inherit: 用于测试类的继承
  • auth:第四章 **认证和授权系统
  • zip_replace: 第五章 文件解压+处理文件+再压缩 主要内容是代码重用,类继承
  • document: 第五章 模拟document类,用于文本编辑或者文字处理工具,主要涉及对象、数据和方法之间的相互作用方式
  • link_collector: 第六章 使用不同的数据结构,使用递归的方式来收集页面中的所有链接
  • 爬虫: aspx网页,翻页url不变,参考教程
  • email_lsit: 第七章 使用默认的字典来储存邮件列表,以及函数也是对象,回调函数
  • regexp_parse: 第八章 使用正则表达式从一个网页文件中提取出需要被替换的地方,然后从其他文件中拿到对应的内容放到网页中。代码中 getattr的使用很简练。
  • color_predict: 第九章 里面主要讲到k近邻、协程和生成器的使用。
  • design_pattern1: 第十章 介绍了装饰器模式、观察者模式、策略模式、状态模式、单例模式、模板模式。
  • design_pattern2: 第十一章 介绍了抽象工厂模式、适配器模式、命令模式、复合模式、门面模式、享元模式。
  • unit_test: 第十二章 介绍python的单元测试 包括unittest和pytest
  • concurrency: 第十三章 介绍多线程、多进程以及异步编程,讲得不是很清楚,而且过时了。(案例中图片太大无法上传,截取了一小块)
  • async_learn: 学习python异步编程,之前书中的讲解已经过时,这个示例是基于python3.8

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.