- Python实战框架miniWeb框架CP1——WSGI
- CP1主要分享了
- Web框架的基本概念
- 静态资源与动态资源
- 模板文件与替换
- WSGI协议
- 基本框架结构
Python实战框架MiniWeb框架CP1——WSGI
|
技术博客 研发小白
__doc__
__module__
、__class__
__dict__
__new__()
:元类__init__()
、__call__()
:装饰器__dir__()
:__dict__
是dir的子集__str__()
、__repr__()
:调用对象时字符串输出__iter__()
、__next__()
:迭代器、生成器__getattr__(self, name)
、__getattribute__(self, name)
、__setattr__(self, name, value)
、__delattr__(self, name)
__getitem__()
、__setitem__()
、__delitem__()
Python高阶语法系列CP7——知识点扩充:模块与MRO(2/4)
CP7主要分享了
模块导入
路径搜索与sys.path
私有变量与from module_name import *
同名模块重新导入:reload()
__import__()
动态导入加载模块、类、函数
函数传递时的拆包:*args, **kwargs
单继承的父类方法覆盖、super()调用父类方法
多继承时的MRO顺序
tag:
缺失模块。
1、请确保node版本大于6.2
2、在博客根目录(注意不是yilia根目录)执行以下命令:
npm i hexo-generator-json-content --save
3、在根目录_config.yml里添加配置:
jsonContent: meta: false pages: false posts: title: true date: true path: true text: false raw: false content: false slug: false updated: false comments: false link: false permalink: false excerpt: false categories: false tags: true