上一页 1 ··· 13 14 15 16 17
摘要: #coding:utf-8__author__ = 'similarface'class Graph: def __init__(self,label,extra=None): #节点是类实例 self.name=label #而图是由类实例链接而成 ... 阅读全文
posted @ 2016-01-13 22:48 similarface 阅读(439) 评论(0) 推荐(0) 编辑
摘要: 面向对象的集合:#coding:utf-8__author__ = 'similarface'class Set: ''' list实现集合,及其集合操作 ''' def __init__(self,value=[]): self.data=[] ... 阅读全文
posted @ 2016-01-13 16:11 similarface 阅读(340) 评论(0) 推荐(0) 编辑
摘要: 基本选择器//选择 id为 one 的元素 $('#btn1').click(function(){ $('#one').css("background","#bfa");});//选择 class 为 mini 的所有元素$('#btn2').click(function(){ $('.min... 阅读全文
posted @ 2016-01-13 14:11 similarface 阅读(320) 评论(0) 推荐(1) 编辑
上一页 1 ··· 13 14 15 16 17