会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
saber゛
CnBlogs
Home
New Post
Contact
Admin
Subscription
上一页
1
···
3
4
5
6
7
8
下一页
2019年5月7日
静态属性,方法和类方法
class Room: tag = 1 def __init__(self,owner,name,width,length): self.Owner = owner self.Name = name self.Width = width self.Length = length @property
Read More
posted @ 2019-05-07 00:27 saber゛
Views(184)
Comments(0)
Diggs(0)
2019年5月6日
计算器制作
Read More
posted @ 2019-05-06 23:06 saber゛
Views(402)
Comments(0)
Diggs(1)
类与对象初识
#面向对象设计(ood) def person(name,age,action): #做一个对象和行为关联性,通过作用域来限制其他的对象不可调用该对象的行为 #初始化设置 def init(name,age,action): #风湿理论 per = { #字典存放对象和行为 "name":name,
Read More
posted @ 2019-05-06 22:38 saber゛
Views(216)
Comments(0)
Diggs(0)
2019年4月25日
内置模块
Read More
posted @ 2019-04-25 01:40 saber゛
Views(208)
Comments(0)
Diggs(0)
2019年4月10日
装饰器
Read More
posted @ 2019-04-10 01:05 saber゛
Views(219)
Comments(0)
Diggs(0)
2019年4月8日
生成器
Read More
posted @ 2019-04-08 23:37 saber゛
Views(334)
Comments(0)
Diggs(0)
2019年4月4日
Python文件操作
Read More
posted @ 2019-04-04 01:28 saber゛
Views(189)
Comments(0)
Diggs(0)
2019年3月18日
函数
Read More
posted @ 2019-03-18 23:26 saber゛
Views(232)
Comments(0)
Diggs(0)
2019年3月11日
set
Read More
posted @ 2019-03-11 23:38 saber゛
Views(157)
Comments(0)
Diggs(0)
tuple&dict
Read More
posted @ 2019-03-11 23:35 saber゛
Views(178)
Comments(0)
Diggs(0)
上一页
1
···
3
4
5
6
7
8
下一页
公告