Python学习资源分享,包括:
1. Python环境安装
2. Python错误排查
3. Python常用函数查询与解释目录
3.1.7解决“ python unicode is not defined”错误
提示…
37
3.1.8解决“ Attribute error:'dict' object has no
attribute has key”错误提示
38
3.1.9解决“ ImportError: No module named urllib2”
错误提示
38
3.2常见错误
python 内置函数filter
class filter(object):
filter(function or None, iterable) --> filter object
Return an iterator yielding those items of iterable for which function(item)
is true. If function is None, return the items that are true.
filter