Skip to content
  • About Me

charlie笔记

A programmer’s note boke for work and life

作者:test31297505

理解python的迭代器

20 6月01 1月 by test31297505

什么是迭代 可以直接作用于for循环的对象统称为可迭代对象(iterable)。可以被next()函数调用并不 […]

Continue reading
Posted in 未分类 · Leave a comment

python数据持久存储:pickle模块的基本使用

20 6月01 1月 by test31297505

python的pickle模块实现了基本的数据序列和反序列化。通过pickle模块的序列化操作我们能够将程序中 […]

Continue reading
Posted in 未分类 · Leave a comment

深入理解python中的生成器

20 6月01 1月 by test31297505

生成器(generator)概念 生成器不会把结果保存在一个系列中,而是保存生成器的状态,在每次进行迭代时返回 […]

Continue reading
Posted in 未分类 · Leave a comment

python与编码

20 6月01 1月 by test31297505

python中的文字对象 python 3.x中处理文字的对象有str, bytes, bytearray。 […]

Continue reading
Posted in 未分类 · Leave a comment

python知识总结

20 6月01 1月 by test31297505

python知识总结 一、python简介 1、python简介 python是一种解释型、交互式、面向对象、 […]

Continue reading
Posted in 未分类 · Leave a comment

30个有关python的小技巧

20 6月01 1月 by test31297505

从我开始学习python的时候,我就开始自己总结一个python小技巧的集合。后来当我什么时候在stack o […]

Continue reading
Posted in 未分类 · Leave a comment

python内置函数oct详解

20 6月01 1月 by test31297505

英文文档: oct ( x ) convert an integer number to an octal s […]

Continue reading
Posted in 未分类 · Leave a comment

python端口扫描简单程序

20 6月01 1月 by test31297505

本文实例为大家分享了python端口扫描的实现代码,供大家参考,具体内容如下 获取本机的ip和端口号: imp […]

Continue reading
Posted in 未分类 · Leave a comment

python用zip函数同时遍历多个迭代器示例详解

20 6月01 1月 by test31297505

前言 本文主要介绍的是python如何使用zip函数同时遍历多个迭代器,文中的版本为python3,zip函数 […]

Continue reading
Posted in 未分类 · Leave a comment

python描述符(descriptor)入门

20 6月01 1月 by test31297505

很久都没写 flask 代码相关了,想想也真是惭愧,然并卵,这次还是不写 flask 相关,不服你来打我啊(就 […]

Continue reading
Posted in 未分类 · Leave a comment

pythonpass详细介绍及实例代码

20 6月01 1月 by test31297505

python pass的用法: 空语句 do nothing 保证格式完整 保证语义完整 以if语句为例,在c […]

Continue reading
Posted in 未分类 · Leave a comment

pythonxml解析实例详解

20 6月01 1月 by test31297505

python xml解析 first.xml 1 fsy 24 2 jianjian 24 1000 from […]

Continue reading
Posted in 未分类 · Leave a comment

深入理解python中的多线程新手必看

20 6月01 1月 by test31297505

示例1我们将要请求五个不同的url:单线程 import time import urllib2 defget […]

Continue reading
Posted in 未分类 · Leave a comment

python二分查找与bisect模块

20 6月01 1月 by test31297505

python 的列表(list)内部实现是一个数组,也就是一个线性表。在列表中查找元素可以使用 list.in […]

Continue reading
Posted in 未分类 · Leave a comment

python开发bisect

20 6月01 1月 by test31297505

现在有如下的需求: ”’ 实现这样的一个功能: 对一个班级的学生的成绩做出一些评定,评 […]

Continue reading
Posted in 未分类 · Leave a comment

python数组查找算法bisect二分查找插入

20 6月01 1月 by test31297505

1 实例 这个模块只有几个函数, 一旦决定使用二分搜索时,立马要想到使用这个模块  import bisect […]

Continue reading
Posted in 未分类 · Leave a comment

python模块介绍

20 6月01 1月 by test31297505

bisect –维护有序列表 目的:不需要每次调用sort的方式维护有序列表。 bisect模块实现了一个算法 […]

Continue reading
Posted in 未分类 · Leave a comment

python中的bisect

20 6月01 1月 by test31297505

python 中的bisect用于操作排序的数组,比如你可以在向一个数组插入数据的同时进行排序。下面的代码演示 […]

Continue reading
Posted in 未分类 · Leave a comment

python中bisect模块用法实例

20 6月01 1月 by test31297505

本文实例讲述了python中bisect模块用法,分享给大家供大家参考。 具体方法分析如下: 这个模块只有几个 […]

Continue reading
Posted in 未分类 · Leave a comment

python

20 6月01 1月 by test31297505

这个模块只有几个函数, 一旦决定使用二分搜索时,立马要想到使用这个模块  import bisect l = […]

Continue reading
Posted in 未分类 · Leave a comment

python中bisect的用法

20 6月01 1月 by test31297505

本文实例讲述了python中bisect的用法,是一个比较常见的实用技巧。分享给大家供大家参考。具体分析如下: […]

Continue reading
Posted in 未分类 · Leave a comment

一个有趣的python排序模块:bisect

20 6月01 1月 by test31297505

今天同事说到了一个python的排序模块bisect,觉得挺有趣的,跟大家分享分享。 先看看模块的结构: 可见 […]

Continue reading
Posted in 未分类 · Leave a comment

python实现简单爬虫

20 6月01 1月 by test31297505

简介 爬虫是一段自动抓取互联网信息的程序。它的价值是互联网数据为我所有。利用爬取到的数据,可以做很多的事情如: […]

Continue reading
Posted in 未分类 · Leave a comment

零基础写python爬虫之使用scrapy框架编写爬虫

20 6月01 1月 by test31297505

网络爬虫,是在网上进行数据抓取的程序,使用它能够抓取特定网页的html数据。虽然我们利用一些库开发一个爬虫程序 […]

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数据类型是不允许改变的,这就意味着如果改变 number 数据类型的值,将重新分配内存空间。 […]

Continue reading
Posted in 未分类 · Leave a comment

python分布式锁

20 6月01 1月 by test31297505

在进行某些比较耗时的查询时,为了避免进行重复计算,可以采用分布式锁服务, 在同一个时间只有一个操作在进行,同类 […]

Continue reading
Posted in 未分类 · Leave a comment

pythongreenlet实现机制

20 6月01 1月 by test31297505

最近使用python开发web程序,一直使用的是fastcgi模式.然后每个进程中启动多个线程来进行请求处理. […]

Continue reading
Posted in 未分类 · Leave a comment

pythongevent实现机制

20 6月01 1月 by test31297505

之前看的greenlet只是提供了基本的coroutine的作用,是最小的执行单元.但是要想使用,还需要提供一 […]

Continue reading
Posted in 未分类 · Leave a comment

python中的国际化使用

20 6月01 1月 by test31297505

# -*- coding: utf-8 -*- #!/usr/bin/env python ”&# […]

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