自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(5)
  • 收藏
  • 关注

原创 文章标题

python中继承 父类 子类

2016-05-08 17:44:46 147

转载 New Document

数据与表现分离 django 模板加载 目录设置 Python render_to_response()

2016-05-08 17:42:30 863

原创 django的标签

{% if %}标签可以没有else标签:{% if today_is_weekend %} <p>Welcome to the weekend!</p> {% endif %} 可以有else标签:{% if today_is_weekend %} <p>Welcome to the weekend!</p> {% else %} <p>Get back to work.<

2016-05-08 11:43:13 281

转载 python中的继承

##python中继承的三种方式## 这里面包含两种关系:is-a,has-a。 ###完全继承### 这是is-a的关系,就是子类直接继承于父类。     class Parent(object):              def implicit(self):             print "PARENT implicit()"          class

2016-05-05 11:22:30 402

原创 print函数中%r和%s

%r用rper()方法处理对象 %s用str()方法处理对象 repr(object) Return a string containing a printable representation of an object. This is the same value yielded by conversions (reverse quotes). It is sometim

2016-05-03 13:51:42 601

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除