Skip to content
  • About Me

charlie笔记

A programmer’s note boke for work and life

作者:test31297505

python即时网络爬虫:api说明

20 6月01 1月 by test31297505

api说明——下载gsextractor内容提取器 1,接口名称 下载内容提取器 2,接口说明 如果您想编写一 […]

Continue reading
Posted in 未分类 · Leave a comment

python即时网络爬虫项目:内容提取器的定义

20 6月01 1月 by test31297505

1. 项目背景 在python即时网络爬虫项目启动说明中我们讨论一个数字:程序员浪费在调测内容提取规则上的时间 […]

Continue reading
Posted in 未分类 · Leave a comment

python函数类语法糖

20 6月01 1月 by test31297505

python 语法糖 \,换行连接 s = ” s += ‘a’ + \ […]

Continue reading
Posted in 未分类 · Leave a comment

python第三方库安装及常见问题

20 6月01 1月 by test31297505

源码安装 python第三方库几乎都可以在github或者 pypi上找到源码。源码包格式大概有zip 、 t […]

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

python获取字母在字母表对应位置的几种方法及性能对比较 某些情况下要求我们查出字母在字母表中的顺序,a = […]

Continue reading
Posted in 未分类 · Leave a comment

pythonscrapy爬虫:同步和异步分页的demo

20 6月01 1月 by test31297505

分页交互在请求数据时有同步和异步两种情况,同步时页面整体刷新,异步时页面局部刷新。对于这两种分页的数据在进行爬 […]

Continue reading
Posted in 未分类 · Leave a comment

python解析二维码

20 6月01 1月 by test31297505

由于需要对二维码图片进行解析,操作环境是centos7.2,python版本是2.7.5,由于zbar只支持到 […]

Continue reading
Posted in 未分类 · Leave a comment

一张图看懂pythonweb高效开发

20 6月01 1月 by test31297505

一张图看懂python web高效开发,5秒看图,受益一生

Continue reading
Posted in 未分类 · Leave a comment

python中单线程、多线程和多进程的效率对比实验

20 6月01 1月 by test31297505

对比实验 资料显示,如果多线程的进程是cpu密集型的,那多线程并不能有多少效率上的提升,相反还可能会因为线程的 […]

Continue reading
Posted in 未分类 · Leave a comment

python信号处理signal模块

20 6月01 1月 by test31297505

signal模块简介 最近在看linux signal 相关内容,signal可以被用来进程间通信和异步处理。 […]

Continue reading
Posted in 未分类 · Leave a comment

pythonlinecache模块

20 6月01 1月 by test31297505

linecache 今天分享一个python的小模块: linecache, 可以用它方便地获取某一文件某一行 […]

Continue reading
Posted in 未分类 · Leave a comment

python有序字典

20 6月01 1月 by test31297505

有序字典-ordereddict简介 示例 有序字典和通常字典类似,只是它可以记录元素插入其中的顺序,而一般字 […]

Continue reading
Posted in 未分类 · Leave a comment

python-切片

20 6月01 1月 by test31297505

取一个list或者tuple的一部分是十分常见的操作。我们除了利用循环通过索引一个个获取元素外,python还 […]

Continue reading
Posted in 未分类 · Leave a comment

怎么样用python实现地理编码

20 6月01 1月 by test31297505

以物流行业为例,分析了 postgresql 与 greenplum 在地理位置信息处理,最佳路径算法,机器学 […]

Continue reading
Posted in 未分类 · Leave a comment

python列表生成器

20 6月01 1月 by test31297505

在实际情况中,我们常常需要生成一些列表。除了比较低效的用for循环来一个一个往列表中append外,还有什么比 […]

Continue reading
Posted in 未分类 · Leave a comment

记录一次用python写爬虫的心得

20 6月01 1月 by test31297505

现在网络爬虫有很多方式可以写,比如node.js或者go, 甚至php都行,我之所以选择python的原因是因 […]

Continue reading
Posted in 未分类 · Leave a comment

python代码优化技巧

20 6月01 1月 by test31297505

代码优化part1 分享最近看到的关于代码优化的一些技巧。 if 判断的短路特性 对于and,应该把满足条件少 […]

Continue reading
Posted in 未分类 · Leave a comment

对于pythonsocket编程的初探

20 6月01 1月 by test31297505

socket编程步骤 服务端创建一个socket,绑定地址和端口,然后监听端口上传入的连接,一旦有连接进来,就 […]

Continue reading
Posted in 未分类 · Leave a comment

python实现mapreduce模式的例子

20 6月01 1月 by test31297505

mapreduce是一种从函数式编程语言借鉴过来的模式,在某些场景下,它可以极大地简化代码。先看一下什么是ma […]

Continue reading
Posted in 未分类 · Leave a comment

python冷冻及虚拟环境

20 6月01 1月 by test31297505

python freeze python应用在开发中会使用各种各样的包,通常我们会用venv来对各应用项目依赖 […]

Continue reading
Posted in 未分类 · Leave a comment

python异步调用命令行工具

20 6月01 1月 by test31297505

  当你在自己的 python 程序中采用了基于事件循环的异步编程方法之后,你就会发现自己不自觉地被其牢牢吸引 […]

Continue reading
Posted in 未分类 · Leave a comment

python中.read(),.readline(),.readlines()有何区别

20 6月01 1月 by test31297505

python中.read(),.readline(),.readlines()的区别:在python 中,读取 […]

Continue reading
Posted in 未分类 · Leave a comment

基于python的移动联通基站接口调用代码实例

20 6月01 1月 by test31297505

#!/usr/bin/python # -*- coding: utf-8 -*- import json, […]

Continue reading
Posted in 未分类 · Leave a comment

pythoninput使用

20 6月01 1月 by test31297505

#!c:\program files\python35/bin# -*- conding:utf-8 -*-# […]

Continue reading
Posted in 未分类 · Leave a comment

python迭代

20 6月01 1月 by test31297505

python中我们可以对list、tuple、dict或者其他可迭代的对象进行迭代从而遍历取出各个元素。 如何 […]

Continue reading
Posted in 未分类 · Leave a comment

python数据库编程

20 6月01 1月 by test31297505

讲解python操作数据库,完成简单的增删改查工作,以mysql数据库为例。 python的mysql数据库操 […]

Continue reading
Posted in 未分类 · Leave a comment

python析构函数和特殊的call方法

20 6月01 1月 by test31297505

# -*- coding: utf-8 -*- “”” created o […]

Continue reading
Posted in 未分类 · Leave a comment

python之浅谈接口的定义和抽象类以及抽象方法

20 6月01 1月 by test31297505

#_*_ coding:utf-8 _*_ #知识点:接口的定义和抽象类以及抽象方法 ”&#821 […]

Continue reading
Posted in 未分类 · Leave a comment

python性能分析工具简介

20 6月01 1月 by test31297505

性能分析和调优工具简介 总会遇到一个时候你会想提高程序执行效率,想看看哪部分耗时长成为瓶颈,想知道程序运行时内 […]

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笔记 ·