Skip to content
  • About Me

charlie笔记

A programmer’s note boke for work and life

详解python当中的字符串和编码

23 10月01 1月 by test4807991

字符编码 我们已经讲过了,字符串也是一种数据类型,但是,字符串比较特殊的是还有一个编码问题。 因为计算机只能处 […]

Continue reading
Posted in 未分类 · Leave a comment

python基础教程之对象和类的实际运用

23 10月01 1月 by test16134286

我们熟悉了对象和类的基本概念。我们将进一步拓展,以便能实际运用对象和类。 调用类的其它信息 上一讲中提到,在定 […]

Continue reading
Posted in 未分类 · Leave a comment

python实现下载指定网址所有图片的方法

23 10月01 1月 by test4807991

本文实例讲述了python实现下载指定网址所有图片的方法。分享给大家供大家参考。具体实现方法如下: #codi […]

Continue reading
Posted in 未分类 · Leave a comment

python2中的raw

23 10月01 1月 by test30307667

这两个均是 python 的内建函数,通过读取控制台的输入与用户实现交互。但他们的功能不尽相同。举两个小例子。 […]

Continue reading
Posted in 未分类 · Leave a comment

解析python编程中的包结构

23 10月01 1月 by test4807991

假设你想设计一个模块集(也就是一个“包”)来统一处理声音文件和声音数据。通常由它们的扩展有不同的声音格式,例如 […]

Continue reading
Posted in 未分类 · Leave a comment

python函数式编程指南(二):从函数开始

22 10月01 1月 by test4807991

2. 从函数开始 2.1. 定义一个函数 如下定义了一个求和函数: 代码如下: def add(x, y): […]

Continue reading
Posted in 未分类 · Leave a comment

介绍python中的

22 10月01 1月 by test30307667

python的每个新版本都会增加一些新的功能,或者对原来的功能作一些改动。有些改动是不兼容旧版本的,也就是在当 […]

Continue reading
Posted in 未分类 · Leave a comment

如何用yacc实现一个python的编译器?

22 10月01 1月 by test16134286

yacc for ansi c 的文法在很多地方都可以找到了。为什么没有python的?如何把python源代 […]

Continue reading
Posted in 未分类 · Leave a comment

用python写asp详细讲解

22 10月01 1月 by test16134286

一、asp的平反想到asp 很多人会说 “asp语言很蛋疼,不能面向对象,功能单一,很多东西实现不了” 等等诸 […]

Continue reading
Posted in 未分类 · Leave a comment

python编程

22 10月01 1月 by test30307667

工欲善其事,必先利其器.python是解释型的语言,但是在windows下如果要执行程序的话还得加个pytho […]

Continue reading
Posted in 未分类 · Leave a comment

python简单获取数组元素个数的方法

21 10月01 1月 by test4807991

本文实例讲述了python简单获取数组元素个数的方法。分享给大家供大家参考。具体如下: 代码如下: myseq […]

Continue reading
Posted in 未分类 · Leave a comment

python写的英文字符大小写转换代码示例

21 10月01 1月 by test30307667

几行代码的小工具,用于进行如下转换 transactions on cloud computing =》 tr […]

Continue reading
Posted in 未分类 · Leave a comment

python创建xml的方法

21 10月01 1月 by test30307667

本文实例讲述了python创建xml的方法。分享给大家供大家参考。具体实现方法如下: from xml.dom […]

Continue reading
Posted in 未分类 · Leave a comment

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

文章导航

Previous 1 … 91 92 93 94 95 96 97 98 99 100 101 … 260 Next

近期文章

  • 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笔记 ·
程序猿 散文朗诵 鬼故事 佛学网