摘要:
class Foo(object): def __init__(self,name,data_list): self.name = name self.data_list = data_list def __iter__(self): yield "" yield "全部" for item in ... 阅读全文
摘要:
如已知某些配置会在之后的运行中可能被多次修改,则: 项目中业务代码不允许修改 配置文件可以允许修改 示例: projict: db: mysql.py sqlserver.py app.py settings.py start.py db: settings: apps: 阅读全文