python3-python 继承 可以多继承 单 2020-12-01 python python python3-python 转义字符串 https://note.youdao.com/s/HeTT5LbU 2020-12-01 python python python3-python 类 “”” 面向对象有意义的面向对象的代码类、对象“”” class Student: name = ‘bob’ age = 0 def print_profile(self): print('name:' + self.n 2020-12-01 python python python3-python 私有化方法和变量 class Student: __private_name = ‘private name’ def do_homework(self): print("doing homework") self.__private_ 2020-12-01 python python python3-python 正则表达式 re.finall 建议使用“””正则表达式 匹配模式“””import re a = ‘PythonC#JavaPhp’ r = re.findall(‘c#’, a, re.I) # 不区分大小写print(r) a = ‘Pytho 2020-12-01 python python python3-python 建议使用下划线连接单词 如题 2020-12-01 python python python3-python 包 from xxx imprt * init.py里面如果有 all=[‘xxx1’,’xxx2’,….] 用import * 就只能导入__all__里面的内容 2020-12-01 python python python3-python 函数式编程和命令式编程 函数式编程mapreducefilterlambda 算子 命令式编程defif elsefor 2020-12-01 python python python3-python 函数 python 是解释型语言,所以 调用要在函数声明之后 2020-12-01 python python python3-python 三引号 ‘’’hello worldhello worldhello world‘’’ “””hello worldhello worldhello world“”” 都行 2020-12-01 python python python3-python json转换类型 https://note.youdao.com/s/SMYjczWB 2020-12-01 python python python3-Python函数中※和※※的内涵究竟是什么呢 Python函数中*和**的内涵究竟是什么呢? 2020-12-01 python python