- 博客(2)
- 收藏
- 关注
原创 面向对象,继承与多态
###面向对象 ##继承与多态 面向对象编程——Object Oriented Programming,简称OOP,是一种程序设计思想。 提到面向对象的第一反应就是:抽象 (abstraction),封装(Encapsulation) , 继承(Inheritance) ,多态(Polymorphism),本文就主要分享一下* 继承 *与 多态 。 继承 首先继承分为子类(派生类)与父类(超类)(...
2019-08-13 20:28:42 184
原创 入门博客程序 (实现登录,注册,查看,更新,删除)
import os,json,time,random,sys from datetime import datetime 第一次 创建 配置文件 def createuser(path=“博客.json”): if not os.path.exists(path): temp={"博客":[{"acc":"546280927","pas":"123612"}]} with o...
2019-07-19 19:46:28 472
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人