![](https://img-blog.csdnimg.cn/20200229222353412.jpg?x-oss-process=image/resize,m_fixed,h_224,w_224)
python
python标准库
温柔一cai刀
已知越多,未知越多!
展开
-
Python——logging模块学习
python——logging模块学习原创 2015-08-23 16:51:21 · 530 阅读 · 0 评论 -
Python 标准库——os、glob模块
一、os 模块1、os 模块常用属性2、os 模块常用方法二、os.path 模块1、os.path 模块常用方法三、glob 模块四、综合应用原创 2015-12-19 12:21:26 · 2838 阅读 · 0 评论 -
python程序打包为egg——setuptools模块
一、创建包新建文件夹my-package,文件夹下创建如下setup.py(务必为此名字)文件# encoding: utf-8from setuptools import setup, find_packagessetup( name="demo", # egg包名 version="0.0.9", description="get http headers",原创 2015-12-13 18:54:36 · 7763 阅读 · 1 评论 -
Python 标准库——functools
一、 偏函数 二、wraps 装饰器原创 2015-09-20 11:08:47 · 495 阅读 · 0 评论 -
Python 标准库——collections(上)
一 、Counter初始化update方法、most_common 方法算术运算二、 defaultdict初始化 三种技巧defaultdict V.S groupby原创 2015-09-20 12:50:00 · 519 阅读 · 0 评论 -
Python 标准库——itertools
一、chain / chain.from_iterable二、izip / imap / starmap 三、count / cycle / repeat四、ifilter/ islice五、compress / dropwhile / takewhile六、groupby七、produce / permutations / combinations参考:[1] https://docs.pyth原创 2015-09-19 18:30:56 · 570 阅读 · 0 评论 -
Python 标准库——collections(下)
一、namedtuple 二、OrderedDict 三、deque原创 2015-09-20 13:12:28 · 475 阅读 · 0 评论 -
Python 标准库——operator
Python 标准库——operator原创 2015-09-19 17:44:42 · 974 阅读 · 0 评论 -
Python 日期处理——datetime包学习(下)
Python 日期处理——datetime包学习原创 2015-08-22 14:26:41 · 760 阅读 · 0 评论 -
通过python 运行hadoop
通过python运行hadoop原创 2015-09-06 22:14:54 · 649 阅读 · 0 评论 -
python2.7虚拟环境virtualenv安装及使用
python虚拟环境virtualenv安装及使用原创 2015-08-16 13:56:20 · 9892 阅读 · 0 评论 -
Python2.7 安装numpy报错解决方法
Windows 10下用pip安装numpy包报错: Microsoft Visual C++ 9.0 is required Unable to find vcvarsall.bat原创 2015-08-16 10:45:21 · 3229 阅读 · 0 评论 -
《Unicode之痛》摘抄
python unicode 编码解码策略原创 2015-08-30 16:45:44 · 439 阅读 · 0 评论 -
Python 日期处理——datetime包学习(上)
python日期处理——datetime包学习原创 2015-08-22 13:53:33 · 890 阅读 · 0 评论 -
Python——configParser模块学习
python——congfigParser模块学校,处理ini等配置文件原创 2015-08-23 19:24:48 · 763 阅读 · 0 评论 -
python定时任务调度——apscheduler模块
一、基本概念APScheduler(Advanced Python Scheduler),基于Quartz的轻量级Python定时任务调度框架1.1 四个主要组件: trigger 、jobstores、 executors 、scheduler executor 任务执行器:执行任务的模块,不同的IO模型选择相适应的executorjobstore 任务存储仓库:持久存储任务trigger原创 2015-12-20 15:00:58 · 22686 阅读 · 2 评论