Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
hanzizheng-xavier-github
/
python_design_patterns
Public
forked from
cheesezh/python_design_patterns
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
master
Branches
Tags
Go to file
Code
Open more actions menu
Folders and files
Name
Name
Last commit message
Last commit date
Latest commit
History
8 Commits
8 Commits
.gitignore
.gitignore
LICENSE
LICENSE
README.md
README.md
第10章 怎么出试卷?——模版方法模式.ipynb
第10章 怎么出试卷?——模版方法模式.ipynb
第11章 迪米特法则——最少知识原则.ipynb
第11章 迪米特法则——最少知识原则.ipynb
第12章 基金理财更省事——外观模式.ipynb
第12章 基金理财更省事——外观模式.ipynb
第13章 造小人——建造者模式.ipynb
第13章 造小人——建造者模式.ipynb
第14章 老板来了——观察者模式.ipynb
第14章 老板来了——观察者模式.ipynb
第15章 如何兼容各种DB——抽象工厂模式.ipynb
第15章 如何兼容各种DB——抽象工厂模式.ipynb
第16章 上班,干活,下班,加班——状态模式.ipynb
第16章 上班,干活,下班,加班——状态模式.ipynb
第17章 程序中的翻译官——适配器模式.ipynb
第17章 程序中的翻译官——适配器模式.ipynb
第18章 游戏角色备份——备忘录模式.ipynb
第18章 游戏角色备份——备忘录模式.ipynb
第19章 分公司=部门?——组合模式.ipynb
第19章 分公司=部门?——组合模式.ipynb
第1章 计算器——简单工厂模式.ipynb
第1章 计算器——简单工厂模式.ipynb
第20章 挨个买票——迭代器模式.ipynb
第20章 挨个买票——迭代器模式.ipynb
第21章 计划生育——单例模式.ipynb
第21章 计划生育——单例模式.ipynb
第22章 手机型号&软件版本——桥接模式.ipynb
第22章 手机型号&软件版本——桥接模式.ipynb
第23章 烤串的哲学——命令模式.ipynb
第23章 烤串的哲学——命令模式.ipynb
第24章 加薪审批——职责链模式.ipynb
第24章 加薪审批——职责链模式.ipynb
第25章 联合国维护世界和平——中介者模式.ipynb
第25章 联合国维护世界和平——中介者模式.ipynb
第26章 千人千面,内在共享——享元模式.ipynb
第26章 千人千面,内在共享——享元模式.ipynb
第27章 正则表达式——解释器模式.ipynb
第27章 正则表达式——解释器模式.ipynb
第28章 男人和女人——访问者模式.ipynb
第28章 男人和女人——访问者模式.ipynb
第2章 商场收银软件——策略模式.ipynb
第2章 商场收银软件——策略模式.ipynb
第3章 单一职责原则.ipynb
第3章 单一职责原则.ipynb
第4章 开放-封闭原则.ipynb
第4章 开放-封闭原则.ipynb
第5章 依赖倒转原则.ipynb
第5章 依赖倒转原则.ipynb
第6章 衣服搭配系统——装饰模式.ipynb
第6章 衣服搭配系统——装饰模式.ipynb
第7章 找人帮忙追美眉——代理模式.ipynb
第7章 找人帮忙追美眉——代理模式.ipynb
第8章 学习雷锋好榜样——工厂方法模式.ipynb
第8章 学习雷锋好榜样——工厂方法模式.ipynb
第9章 如何准备多份简历——原型模式.ipynb
第9章 如何准备多份简历——原型模式.ipynb
View all files
Repository files navigation
README
License
More
items
python_design_patterns
设计模式Python版
About
设计模式Python版
Resources
Readme
License
Activity
Stars
0
stars
Watchers
0
watching
Forks
0
forks
Report repository
Releases
Packages
Contributors
Languages
You can’t perform that action at this time.