摘要:
DuProxy.py # 代理模式 Proxy Pattern from abc import ABCMeta, abstractmethod import abc import random class ISubject(metaclass=ABCMeta): "An interface impl 阅读全文
posted @ 2022-10-22 23:14
®Geovin Du Dream Park™
阅读(18)
评论(0)
推荐(0)
摘要:
from: Open Source QRCode Library - CodeProject https://www.codeproject.com/articles/20574/open-source-qrcode-library QRCodeEncoder.cs edit using Syste 阅读全文
posted @ 2022-10-22 13:13
®Geovin Du Dream Park™
阅读(66)
评论(0)
推荐(0)
摘要:
DuFlyweight.py # 享元模式 Flyweight Pattern geovindu,Geovin Du,涂聚文 import time class Arrow: def __init__(self, x, y, z, velocity): self.x = x self.y = y s 阅读全文
posted @ 2022-10-22 11:32
®Geovin Du Dream Park™
阅读(25)
评论(0)
推荐(0)
摘要:
DuFacade.py import os import re import threading # 外观模式 Facade Pattern class _IgnitionSystem(object): @staticmethod def produce_spark(): return True c 阅读全文
posted @ 2022-10-22 07:07
®Geovin Du Dream Park™
阅读(26)
评论(0)
推荐(0)
浙公网安备 33010602011771号