自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

说自己行就行

专注互联网知识

  • 博客(3)
  • 资源 (1)
  • 收藏
  • 关注

转载 Global and Local Variables

http://www.python-course.eu/python3_global_vs_local_variables.php In the following example, we want to demonstrate, how global values can be used inside the body of a function: def f(): pri

2016-06-22 15:54:59 1189

转载 A guide to Python's function decorators

Python is rich with powerful features and expressive syntax. One of my favorites is decorators. In the context of design patterns, decorators dynamically alter the functionality of a function, method

2016-06-22 15:31:25 428

转载 Python函数闭包和语法糖

作者:陈伟 链接:http://www.zhihu.com/question/25950466/answer/31731502 来源:知乎 著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。 1. Python中一切皆对象 这恐怕是学习Python最有用的一句话。想必你已经知道Python中的list, tuple, dict等内置数据结构,当你执行: ali

2016-06-22 14:46:35 1288

空空如也

空空如也

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

TA关注的人

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