摘要: Today,We will talk some about the argument and arguments ...#!/usr/bin/pythondef fun(*args): for value in args: print valueif __name__ == '_... 阅读全文
posted @ 2015-06-26 22:45 Landpack 阅读(512) 评论(0) 推荐(0) 编辑
摘要: Why we need the decorator in python ?Let's see a example:#!/usr/bin/pythondef fun_1(x): return x*2 def fun_2(x): return x*x*2if __name__ == '__m... 阅读全文
posted @ 2015-06-26 12:40 Landpack 阅读(229) 评论(0) 推荐(0) 编辑