上一页 1 ··· 16 17 18 19 20 21 22 23 24 ··· 28 下一页
摘要: What is pass in Python? Pass means, no-operation Python statement, or in other words it is a place holder in compound statement, where there shold be 阅读全文
posted @ 2017-08-25 14:24 Zoe233 阅读(168) 评论(0) 推荐(0)
摘要: Why lambda forms in python does not have statements? A lambda form in python does not have statements as it is used to make new function object and th 阅读全文
posted @ 2017-08-25 14:23 Zoe233 阅读(150) 评论(0) 推荐(0)
摘要: 在Python中lambda函数是什么? It is a single expression anoymous function often used as inline function. lambda 匿名函数 表达式及定义 lambda [ arg1 [arg2, arg3, … argN] 阅读全文
posted @ 2017-08-25 13:38 Zoe233 阅读(369) 评论(0) 推荐(0)
摘要: Python中的命名空间是什么? In Python,every name introduced has a place where it lives and can be hooked for. This is known as namespace. It is like a box where 阅读全文
posted @ 2017-08-25 11:09 Zoe233 阅读(354) 评论(0) 推荐(0)
摘要: There are mutable and Immutable types of Pythons built in types Mutable built-in types: List Set Dictionary Immutable built-in types: String Tuple Num 阅读全文
posted @ 2017-08-25 10:25 Zoe233 阅读(341) 评论(0) 推荐(0)
摘要: 字典和列表生成式 There are syntax constructions to ease the creation of a Dictionary or List based on existing iterable. 可以简化基于可迭代对象创建列表或字典的语法结构。 列表生成式List Co 阅读全文
posted @ 2017-08-24 14:53 Zoe233 阅读(211) 评论(0) 推荐(0)
摘要: 如何通过值或引用传递参数? Everything in Python is an object and all variables hold references to the objects. The references values are according to the functions 阅读全文
posted @ 2017-08-24 14:33 Zoe233 阅读(233) 评论(0) 推荐(0)
摘要: 列表和元组的区别 The difference between list and tuple is that list is mutable while tuple is not. Tuple can be hashed for as a key for dictionaries. list和tup 阅读全文
posted @ 2017-08-24 13:32 Zoe233 阅读(309) 评论(0) 推荐(0)
摘要: Python中装饰器是什么? A Python decorator is a specific change that we make in Python syntax to alter functions easily. Python decorator是我们在Python语法中使用的一个特定的更 阅读全文
posted @ 2017-08-23 15:17 Zoe233 阅读(248) 评论(0) 推荐(0)
摘要: 哪些工具可以帮助查找bug或进行静态分析? PyChecker is a static analysis tool that detects the bugs in Python source code and warns about the style and complexity of the 阅读全文
posted @ 2017-08-23 15:09 Zoe233 阅读(267) 评论(0) 推荐(0)
上一页 1 ··· 16 17 18 19 20 21 22 23 24 ··· 28 下一页