ZooKeeper 秘诀 与解决方案A Guide to Creating Higher-level Constructs with ZooKeeperOut of the Box Applications: Name Service, Configuration, Group Membership... Read More
posted @ 2014-11-23 18:06 等风来。。 Views(376) Comments(0) Diggs(0) Edit
1.>>> def deco(func):... print "In deco"... return func...>>> @deco... def foo():... print "In foo"...In deco #因为deco()返回的... Read More
posted @ 2014-11-23 01:47 等风来。。 Views(193) Comments(0) Diggs(0) Edit
一。深入研究>>> def get_0_1_2():... yield 0... yield 1... yield 2...>>> get_0_1_2 #函数类型>>> generator = get_0_1_2()>>> generator #生成器>>> generat... Read More
posted @ 2014-11-23 00:32 等风来。。 Views(259) Comments(0) Diggs(0) Edit
------------------------------------------------------------------------------------------------------------ --------------- 欢迎联系 x.guan.ling@gmail.com--------------- ------------------------------------------------------------------------------------------------------------