![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
python
ginkgo_dia
这个作者很懒,什么都没留下…
展开
-
Python魔法_筛选符合条件的值
列表:筛选列表中符合条件的元素 最常用的是迭代法,对每个元素进行比较,但是这种方法非常low 常用的有列表解析和filter函数过滤。 但是filter函数过滤的消耗时长要大于列表解析生成列表:from random import randint data = [randint(-10 ,10) for _ in range(10)]print (filter(l原创 2017-09-29 14:35:46 · 2040 阅读 · 0 评论 -
hashlib
1原创 2017-12-18 23:24:45 · 157 阅读 · 0 评论 -
python_format
1原创 2017-12-23 16:19:34 · 333 阅读 · 0 评论 -
python_golbalvars
1原创 2017-12-23 18:27:52 · 169 阅读 · 0 评论 -
冒泡排序及递归
冒泡原创 2017-11-27 23:49:17 · 353 阅读 · 0 评论 -
python_re
2原创 2017-11-29 23:42:05 · 206 阅读 · 0 评论 -
python_sys_module
5原创 2017-12-11 19:17:51 · 242 阅读 · 0 评论 -
json_urllib
1原创 2017-12-29 16:26:54 · 203 阅读 · 0 评论 -
xml_python
python 有非常多的工具来处理xmlxml.dom.* 模块 - 是 W3C DOM API 的实现。如果你有处理 DOM API 的需要,那么这个模块适合你。注意:在 xml.dom 包里面有许多模块,注意它们之间的不同。 xml.sax.* 模块 - 是 SAX API 的实现。这个模块牺牲了便捷性来换取速度和内存占用。SAX 是一个基于事件的 API,这就意味着它可以“在空中”(原创 2018-01-07 12:23:24 · 196 阅读 · 0 评论 -
python_pickle
1原创 2017-12-12 18:31:12 · 209 阅读 · 0 评论 -
python_time_module
3原创 2017-12-10 18:44:09 · 174 阅读 · 0 评论 -
python_file
python 的文件操作:原创 2017-11-20 23:33:33 · 350 阅读 · 0 评论 -
python_set
set 的常用函数原创 2017-11-08 22:57:38 · 207 阅读 · 0 评论 -
python_functions
python 中的函数:def function_name():原创 2017-11-12 14:52:42 · 180 阅读 · 0 评论 -
python实现验证码
python 验证码功能的简单实现原创 2017-11-13 22:53:33 · 584 阅读 · 0 评论 -
python
meisha原创 2017-11-05 10:41:55 · 353 阅读 · 0 评论 -
python_str
字符串的常用函数原创 2017-11-05 11:55:06 · 174 阅读 · 0 评论 -
python_list
list 和tuple的常用函数原创 2017-11-05 19:36:21 · 165 阅读 · 0 评论 -
python_dict
python字典:原创 2017-11-05 20:36:41 · 193 阅读 · 0 评论 -
Decorator
1原创 2017-11-28 23:48:30 · 103 阅读 · 0 评论 -
django安装报错
django 安装 ld: library not found for -lssl clang: error: linker command failed with exit code 1 (use -v to see invocation) error: command 'gcc' failed with exit status 1brew install opens...原创 2019-01-27 19:52:22 · 376 阅读 · 0 评论