Skip to content
  • About Me

charlie笔记

A programmer’s note boke for work and life

月份:2016年10月

python中的getopt函数使用详解

21 10月01 1月 by test4807991

函数原型: getopt.getopt(args, shortopts, longopts=[]) 参数解释: […]

Continue reading
Posted in 未分类 · Leave a comment

python获取mp3文件信息的方法

21 10月01 1月 by test30307667

本文实例讲述了python获取mp3文件信息的方法。分享给大家供大家参考。具体如下: 将代码生成.py文件放在 […]

Continue reading
Posted in 未分类 · Leave a comment

python函数式编程指南(三):迭代器详解

21 10月01 1月 by test30307667

3. 迭代器 3.1. 迭代器(iterator)概述 迭代器是访问集合内元素的一种方式。迭代器对象从集合的第 […]

Continue reading
Posted in 未分类 · Leave a comment

python实现对比不同字体中的同一字符的显示效果

21 10月01 1月 by test4807991

有人在 opensuse 中文论坛询问他的输入法打出的「妩媚」的「妩」字为什么显示成「女」+「元」。怀疑是字体 […]

Continue reading
Posted in 未分类 · Leave a comment

python使用xlrd实现检索excel中某列含有指定字符串记录的方法

21 10月01 1月 by test4807991

本文实例讲述了python使用xlrd实现检索excel中某列含有指定字符串记录的方法。分享给大家供大家参考。 […]

Continue reading
Posted in 未分类 · Leave a comment

python中as用法实例分析

21 10月01 1月 by test4807991

本文实例讲述了python中as用法。分享给大家供大家参考。具体分析如下: import some # som […]

Continue reading
Posted in 未分类 · Leave a comment

python获取一组汉字拼音首字母的方法

21 10月01 1月 by test4807991

本文实例讲述了python获取一组汉字拼音首字母的方法。分享给大家供大家参考。具体实现方法如下: #!/usr […]

Continue reading
Posted in 未分类 · Leave a comment

python对文件操作知识汇总

20 10月01 1月 by test16134286

打开文件 操作文件 1打开文件时,需要指定文件路径和打开方式 打开方式: r:只读 w:只写 a:追加 “+” […]

Continue reading
Posted in 未分类 · Leave a comment

python女神是做什麼工作的?

20 10月01 1月 by test16134286

http://weibo.com/u/1854260585在微薄上看,只見她在香港,及常常去不同的高級酒店,但 […]

Continue reading
Posted in 未分类 · Leave a comment

深入理解python中命名空间的查找规则legb

20 10月01 1月 by test4807991

名字空间 python 的名字空间是 python 一个非常核心的内容。 其他语言中如 c 中,变量名是内存地 […]

Continue reading
Posted in 未分类 · Leave a comment

python环境下搭建属于自己的pip源的教程

20 10月01 1月 by test16134286

一、安装pip2pi工具: pip install pip2pi 或: git clone https://g […]

Continue reading
Posted in 未分类 · Leave a comment

pythonfor循环中in关键字含义是什么?

20 10月01 1月 by test16134286

最常用的情况下,我理解,比如 for i in range(1, 5): print i 回复内容: 关键词: […]

Continue reading
Posted in 未分类 · Leave a comment

为python程序添加图形化界面的教程

20 10月01 1月 by test4807991

python支持多种图形界面的第三方库,包括: tk wxwidgets qt gtk 等等。 但是pytho […]

Continue reading
Posted in 未分类 · Leave a comment

使用python的urllib2模块处理url和图片的技巧两则

20 10月01 1月 by test4807991

获取带有中文参数的url内容 对于中文的参数如果不进行编码的话,python的urllib2直接处理会报错,我 […]

Continue reading
Posted in 未分类 · Leave a comment

python检测一个对象是否为字符串类的方法

20 10月01 1月 by test30307667

目的   测试一个对象是否是字符串 方法 python的字符串的基类是basestring,包括了str和un […]

Continue reading
Posted in 未分类 · Leave a comment

python中的ceil()方法使用教程

20 10月01 1月 by test30307667

ceil()方法返回x的值上限 – 不小于x的最小整数。 语法 以下是ceil()方法的语法: i […]

Continue reading
Posted in 未分类 · Leave a comment

python中的引用和拷贝浅析

19 10月01 1月 by test30307667

if an object’s value can be modified, the object […]

Continue reading
Posted in 未分类 · Leave a comment

python使用paramiko模块编写脚本进行远程服务器操作

19 10月01 1月 by test16134286

简介: paramiko是python(2.2或更高)的模块,遵循ssh2协议实现了安全(加密和认证)连接远程 […]

Continue reading
Posted in 未分类 · Leave a comment

解析python中的二进制位运算符

19 10月01 1月 by test4807991

下表列出了所有的python语言的支持位运算符。假设变量a持有60和变量b持有13,则: 示例: 试试下面的例 […]

Continue reading
Posted in 未分类 · Leave a comment

python操作sqlite的crud实例分析

19 10月01 1月 by test4807991

本文实例讲述了python操作sqlite的crud实现方法。分享给大家供大家参考。具体如下: import […]

Continue reading
Posted in 未分类 · Leave a comment

使用python的tornado框架实现一个一对一聊天的程序

19 10月01 1月 by test4807991

按思路来聊: 类似微信,点击用户可以进入一对一聊天页面;另有聊天框列表包含所有存在聊天记录的一对一聊天框,点击 […]

Continue reading
Posted in 未分类 · Leave a comment

用python编写脚本使ie实现代理上网的教程

19 10月01 1月 by test30307667

厂里上个网需要设置代理服务器,切换各种环境『包括但不仅限于开发环境、qa、预上线、验收、生产环境、压力测试、d […]

Continue reading
Posted in 未分类 · Leave a comment

python数据结构之二叉树的统计与转换实例

19 10月01 1月 by test16134286

一、获取二叉树的深度就是二叉树最后的层次,如下图: 实现代码: 代码如下: def getheight(sel […]

Continue reading
Posted in 未分类 · Leave a comment

python中的anydbm模版和shelve模版使用指南

19 10月01 1月 by test4807991

好久没写这系列的文章了,我越来越喜欢用python了,它在我的工作中占据的比例越来越大。废话少说,直接进入主题 […]

Continue reading
Posted in 未分类 · Leave a comment

用python写好的程序如何在其他计算机上运行?

19 10月01 1月 by test16134286

回复内容: 这属于一个“软件发布”的问题。先讨论最简单常见的情况:====================wi […]

Continue reading
Posted in 未分类 · Leave a comment

python常用知识点汇总

19 10月01 1月 by test16134286

1、set基本数据类型 a、set集合,是一个无序且不重复的元素集合 class set(object): & […]

Continue reading
Posted in 未分类 · Leave a comment

python多线程抓取天涯帖子内容示例

19 10月01 1月 by test16134286

使用re, urllib, threading 多线程抓取天涯帖子内容,设置url为需抓取的天涯帖子的第一页, […]

Continue reading
Posted in 未分类 · Leave a comment

python的return如何理解?

19 10月01 1月 by test16134286

比如learn python the hard way 里的 def add(a, b): print &#8 […]

Continue reading
Posted in 未分类 · Leave a comment

python中argparse模块用法实例详解

18 10月01 1月 by test4807991

本文实例讲述了python中argparse模块用法。分享给大家供大家参考。具体分析如下: 平常在写命令行工具 […]

Continue reading
Posted in 未分类 · Leave a comment

pythonstrip()函数介绍

18 10月01 1月 by test30307667

函数原型 声明:s为字符串,rm为要删除的字符序列 s.strip(rm) 删除s字符串中开头、结尾处,位于 […]

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