会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
wang_wei123
博客园
首页
新随笔
联系
订阅
管理
2021年4月23日
Python class类调用基础
摘要: 1、最基础的类使用方法 #!/usr/bin/python# -*- coding: utf-8 -*-class People(object): #身高、体重、变强 def __init__(self): self.weigth = 0 self.length = 0 def add_height
阅读全文
posted @ 2021-04-23 13:30 wang_wei123
阅读(3959)
评论(0)
推荐(0)
编辑
公告