Skip to content
  • About Me

charlie笔记

A programmer’s note boke for work and life

月份:2016年6月

python爬虫之scrapy使用代理配置

20 6月01 1月 by test31297505

在爬取网站内容的时候,最常遇到的问题是:网站对ip有限制,会有防抓取功能,最好的办法就是ip轮换抓取(加代理) […]

Continue reading
Posted in 未分类 · Leave a comment

python六大框架对比,web2py略胜一筹

20 6月01 1月 by test31297505

python是一门动态、面向对象语言。其最初就是作为一门面向对象语言设计的,并且在后期又加入了一些更高级的特性 […]

Continue reading
Posted in 未分类 · Leave a comment

两个pythonweb框架:django&tornado比较

20 6月01 1月 by test31297505

在各种语言平台中,python涌现的web框架恐怕是最多的;猜想原因应该是在py中构造框架十分简单,使得轮子不 […]

Continue reading
Posted in 未分类 · Leave a comment

python与django的时区问题

20 6月01 1月 by test31297505

在编码中牵扯到时间问题的时候,总是容易被时区问题搞混,一直以来,都是反复试验应付过去,今天终于搞清楚了个中缘由 […]

Continue reading
Posted in 未分类 · Leave a comment

初识pythonweb框架

20 6月01 1月 by test31297505

django是一个开放源代码的web应用框架,由python写成。采用了mvc的软件设计模式,即模型m,视图v […]

Continue reading
Posted in 未分类 · Leave a comment

浅析常用的pythonweb的几大框架

20 6月01 1月 by test31297505

在各种语言平台中,python涌现的web框架恐怕是最多的,是一个百花齐放的世界,各种micro-framew […]

Continue reading
Posted in 未分类 · Leave a comment

python函数

20 6月01 1月 by test31297505

id(object) 功能:返回的是对象的“身份证号”,唯一且不变,但在不重合的生命周期里,可能会出现相同的i […]

Continue reading
Posted in 未分类 · Leave a comment

python

20 6月01 1月 by test31297505

python每日一函数 – pmod数字处理函数 pmod(a,b)函数 中文说明: pmod(a […]

Continue reading
Posted in 未分类 · Leave a comment

python

20 6月01 1月 by test31297505

dir()函数 中文说明: 你可以使用内建的dir函数来列出模块定义的标识符。标识符有函数、类和变量。 当你为 […]

Continue reading
Posted in 未分类 · Leave a comment

python

20 6月01 1月 by test31297505

delattr(object, name) 中文说明:删除object对象名为name的属性。这个函数的命名真 […]

Continue reading
Posted in 未分类 · Leave a comment

python函数

20 6月01 1月 by test31297505

最近确实是有些忙,刚过了年,积攒了很多事情需要处理,所以每日一函数只能是每两天更新一篇,在这里和大家致歉。 今 […]

Continue reading
Posted in 未分类 · Leave a comment

python函数

20 6月01 1月 by test31297505

complex([real[, imag]]) 中文说明: 创建一个值为real + imag * j的复数或 […]

Continue reading
Posted in 未分类 · Leave a comment

python函数

20 6月01 1月 by test31297505

compile(source, filename, mode[, flags[, dont_inherit]] […]

Continue reading
Posted in 未分类 · Leave a comment

python函数

20 6月01 1月 by test31297505

今天来分享一个python中非常有用而且非常简单的函数cmp,从拼写上大家可能猜到了,这是一个比较函数,嗯,是 […]

Continue reading
Posted in 未分类 · Leave a comment

python函数

20 6月01 1月 by test31297505

classmethod(function) 中文说明: classmethod是用来指定一个类的方法为类方法, […]

Continue reading
Posted in 未分类 · Leave a comment

python函数

20 6月01 1月 by test31297505

chr(i) 中文说明: 返回整数i对应的ascii字符。与ord()作用相反。 参数x:取值范围[0, 25 […]

Continue reading
Posted in 未分类 · Leave a comment

python函数

20 6月01 1月 by test31297505

callable(object) 中文说明:检查对象object是否可调用。如果返回true,object仍然 […]

Continue reading
Posted in 未分类 · Leave a comment

python函数

20 6月01 1月 by test31297505

bytearray([source [, encoding [, errors]]]) 中文说明: bytea […]

Continue reading
Posted in 未分类 · Leave a comment

python函数

20 6月01 1月 by test31297505

bool([x]) 英文说明:convert a value to a boolean, using the […]

Continue reading
Posted in 未分类 · Leave a comment

python函数

20 6月01 1月 by test31297505

《python函数每日一讲》专题上周一直在和大家分享python的内置函数,都是按照字母排序来讲解的,但是上周 […]

Continue reading
Posted in 未分类 · Leave a comment

python函数

20 6月01 1月 by test31297505

basestring() 说明:basestring是str和unicode的超类(父类),也是抽象类,因此不 […]

Continue reading
Posted in 未分类 · Leave a comment

python函数

20 6月01 1月 by test31297505

any(iterable) 版本:该函数适用于2.5以上版本,兼容python3版本。 说明:如果iterab […]

Continue reading
Posted in 未分类 · Leave a comment

python函数

20 6月01 1月 by test31297505

all(iterable) 版本:该函数在python2.5版本首次出现,适用于2.5以上版本,包括pytho […]

Continue reading
Posted in 未分类 · Leave a comment

python函数

20 6月01 1月 by test31297505

从今天开始,我会每天更新一个python函数,并附带实例及函数使用时的注意点。我给这个函数专题起了个名字叫“p […]

Continue reading
Posted in 未分类 · Leave a comment

round四舍五入详解

20 6月01 1月 by test31297505

round()方法返回 数值 的小数点四舍五入到n个数字。 语法 以下是round()方法的语法: round […]

Continue reading
Posted in 未分类 · Leave a comment

python使用struct处理二进制(pack和unpack用法)

20 6月01 1月 by test31297505

有的时候需要用python处理二进制数据,比如,存取文件,socket操作时.这时候,可以使用python的s […]

Continue reading
Posted in 未分类 · Leave a comment

python网络编程——io多路复用之epoll

20 6月01 1月 by test31297505

什么是epoll epoll是什么?在linux的网络编程中,很长的时间都在使用select来做事件触发。在l […]

Continue reading
Posted in 未分类 · Leave a comment

python中星号变量的几种特殊用法

20 6月01 1月 by test31297505

在python中星号除了用于乘法数值运算和幂运算外,还有一种特殊的用法”在变量前添加单个星号或两个 […]

Continue reading
Posted in 未分类 · Leave a comment

python进阶之socket详解

20 6月01 1月 by test31297505

socket的英文原义是“孔”或“插座”。作为bsd unix的进程通信机制,通常也称作”套接字& […]

Continue reading
Posted in 未分类 · Leave a comment

详解python的super()的作用和原理

20 6月01 1月 by test31297505

python中对象方法的定义很怪异,第一个参数一般都命名为self(相当于其它语言的this),用于传递对象本 […]

Continue reading
Posted in 未分类 · Leave a comment

文章导航

先前文章
较新文章

近期文章

  • 15款互联网人必备的AI工具,效率提升2倍
  • 多个ChatGPT通用指令
  • Python采集biaozhun政府文件
  • TensorFlow库:Python中的深度学习
  • python 本地密码管理应用

近期评论

  • helenadmin发表在《Python采集biaozhun政府文件》
  • helenadmin发表在《写给程序员的一封公开信》
  • Google发表在《About Me》
  • helenadmin发表在《ES(ElasticSearch)分布式全文搜索引擎及使用方式》
  • buy viagra发表在《About Me》

文章归档

  • 2024年12月
  • 2024年9月
  • 2024年6月
  • 2024年5月
  • 2024年3月
  • 2024年2月
  • 2024年1月
  • 2023年12月
  • 2023年11月
  • 2023年10月
  • 2023年9月
  • 2023年8月
  • 2023年7月
  • 2023年6月
  • 2023年5月
  • 2023年4月
  • 2023年3月
  • 2023年2月
  • 2023年1月
  • 2022年12月
  • 2022年8月
  • 2022年7月
  • 2022年6月
  • 2022年5月
  • 2022年4月
  • 2022年3月
  • 2022年2月
  • 2022年1月
  • 2021年12月
  • 2021年11月
  • 2021年10月
  • 2021年9月
  • 2021年8月
  • 2021年7月
  • 2021年6月
  • 2021年5月
  • 2021年4月
  • 2021年3月
  • 2021年1月
  • 2020年12月
  • 2020年11月
  • 2020年10月
  • 2020年9月
  • 2020年8月
  • 2020年7月
  • 2020年6月
  • 2020年5月
  • 2020年4月
  • 2020年3月
  • 2020年2月
  • 2020年1月
  • 2019年12月
  • 2019年11月
  • 2019年10月
  • 2019年9月
  • 2019年8月
  • 2019年7月
  • 2019年6月
  • 2019年5月
  • 2019年4月
  • 2019年3月
  • 2019年2月
  • 2019年1月
  • 2018年12月
  • 2018年11月
  • 2018年10月
  • 2018年9月
  • 2018年7月
  • 2018年6月
  • 2018年3月
  • 2018年2月
  • 2018年1月
  • 2017年12月
  • 2017年11月
  • 2017年10月
  • 2017年9月
  • 2017年8月
  • 2017年7月
  • 2017年6月
  • 2017年5月
  • 2017年4月
  • 2017年3月
  • 2017年1月
  • 2016年12月
  • 2016年11月
  • 2016年10月
  • 2016年9月
  • 2016年8月
  • 2016年7月
  • 2016年6月
  • 2016年5月
  • 2016年4月
  • 2016年3月
  • 2016年2月
  • 2015年8月
  • 2015年7月
  • 2015年6月
  • 2015年5月
  • 2014年7月
  • 2014年6月
  • 2014年5月
  • 1970年1月

分类目录

  • Database
  • focus—-实时热搜
  • IC设计
  • js&jquery
  • PHP
  • Python
  • 新技术研习
  • 服务器相关技术
  • 算法
  • 缓存技术
  • 随笔

功能

  • 注册
  • 登录
  • 文章RSS
  • 评论RSS
  • WordPress.org
© 2025 charlie笔记 ·