Tue Aug 15 2017 13:07:43
关于Python装饰器,如何做到既可以给装饰器添加参数,也可以不添加参数Writing a Python decorator that can be called as a function or a callable 以及How to create a Python decorator that can be used either with or without parameters?Tue Aug 15 2017 11:44:05
关于Pythonfunctools
模块中wraps
的问题What does functools.wraps do?Mon Aug 07 2017 23:16:42
关于Python闭包以及lambda
的问题What do (lambda) function closures capture?Sun Aug 06 2017 15:21:38
关于Python的三目运算符Does Python have a ternary conditional operator?Sun Aug 06 2017 12:42:34
关于Python变量的作用域的问题Python nonlocal statementSun Aug 06 2017 01:21:10
关于Python使用list
的index
方法查找元素,当查找的元素不存在的时候的处理方法Best way to handle list.index(might-not-exist) in python?和Python index of item in list without error?Sun Aug 06 2017 00:22:38
关于Python的变量Python variable declarationThu Aug 03 2017 22:19:22
关于Python为什么没有++
和--
运算符Why are there no ++ and -- operators in Python?Mon Jul 31 2017 10:45:52
关于内置函数enumerateSun Jul 30 2017 22:11:50
关于切片的一篇文章,可以加深对切片的理解How to Slice Lists/Arrays and Tuples in PythonSat Jul 29 2017 23:36:07
关于如何展开一个列表参数Unpacking Argument ListsSat Jul 29 2017 23:11:04
关于Python中is
与==
的区别Why does comparing strings in Python using either '==' or 'is' sometimes produce a different result?和String comparison in Python: is vs. ==Mon Jul 24 2017 23:57:15
关于格式化输出多个值Mon Jul 24 2017 23:16:48
关于数字的有限和无限问题
MIT License
Copyright (c) [2017] @dreamapplehappy
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.