码迷,mamicode.com
首页 >  
搜索关键字:leon    ( 60个结果
python 静态方法与类方法
#!/usr/bin/python #-*-coding:utf-8-*- classPizza(object): a="AA" def__init__(self): self.name=‘leon‘ defcook(self): returnself.mix_ingredients(self.cheese,self.vegetables) @staticmethod defmix_ingredients(x,y): printPizza.a #printPizza.name returnx+y @c..
分类:编程语言   时间:2015-09-10 17:37:21    阅读次数:166
超实用!SKETCH大师最常用的3个实战小技巧
编者按:面对Sketch这样的新应用,谁都想直接达到到高效、高产、熟练的使用水平。所以今天@窒息红Leon就来介绍关于 Sketch 的三个小诀窍,而它们通常只能在经验丰富的 Sketch 大师身上才能看到。译者的微信公众号:zhenlei_pd,推荐同学们关注呦。本文为译者授权优设发布,未经作者本...
分类:其他好文   时间:2015-09-01 16:53:45    阅读次数:224
python抓取网页图片
#-*- encoding: utf-8 -*-'''Created on 2014-4-24@author: Leon Wong'''import urllib2import urllibimport reimport timeimport osimport uuid#获取二级页面urldef f...
分类:编程语言   时间:2015-08-17 06:21:51    阅读次数:129
Python3学习(2)-中级片
Python3学习(1)-基础片切片:取数组、元组中的部分元素 L=['Jack','Mick','Leon','Jane','Aiden']取前三个:使用索引取2-4个元素:索引取最后2个元素:索引,倒序取前3个元素:索引N=[0,1,2,3,4,5,6,7,8,9]前8个中每2个取1个每3个中取...
分类:编程语言   时间:2015-07-31 21:34:40    阅读次数:162
zoj 3890 Wumpus(zoj 2015年7月月赛)
Wumpus Time Limit: 2 Seconds      Memory Limit: 65536 KB One day Leon finds a very classic game called Wumpus.The game is as follow. Once an agent fell into a cave. The legend said that in this...
分类:其他好文   时间:2015-07-28 10:50:47    阅读次数:154
ZOJ - 3890 Wumpus(BFS基础题)
Wumpus Time Limit: 2 Seconds      Memory Limit: 65536 KB One day Leon finds a very classic game called Wumpus.The game is as follow. Once an agent fell into a cave. The legend said that in th...
分类:其他好文   时间:2015-07-27 21:06:16    阅读次数:105
zoj 月赛
Wumpus Time Limit: 2 Seconds      Memory Limit: 65536 KB One day Leon finds a very classic game called Wumpus.The game is as follow. Once an agent fell into a cave. The legend said that in th...
分类:其他好文   时间:2015-07-27 13:13:00    阅读次数:110
zoj 月赛
Wumpus Time Limit: 2 Seconds      Memory Limit: 65536 KB One day Leon finds a very classic game called Wumpus.The game is as follow. Once an agent fell into a cave. The legend said that in th...
分类:其他好文   时间:2015-07-26 21:00:22    阅读次数:133
20分钟打造你的Bootstrap站点
来源:http://www.w3cplus.com/css/twitter-bootstrap-tutorial.html特别声明:此篇文章由白牙根据Leon Revill的英文文章原名《Twitter Bootstrap Tutorial – Up and running with Twitter...
分类:其他好文   时间:2015-07-13 20:34:23    阅读次数:147
python中的静态方法和类方法的区别【转】
class TestClassMethod(object): METHOD = 'method hoho' def __init__(self): self.name = 'leon' def test1(self): print 'test1' ...
分类:编程语言   时间:2015-07-08 12:24:32    阅读次数:194
60条   上一页 1 ... 3 4 5 6 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!