Skip to content
  • About Me

charlie笔记

A programmer’s note boke for work and life

分类:Python

python笔记,python案例,python学习

在iis服务器上以cgi方式运行python脚本的教程

09 1月10 11月 by test4807991

由于接触到python web开发,正好把最简单的cgi方式研究了一下,话说在windows下配置python […]

Continue reading
Posted in Python · Leave a comment

python实现telnet服务器的方法

09 1月10 11月 by test4807991

本文实例讲述了python实现telnet服务器的方法。分享给大家供大家参考。具体实现方法如下: import […]

Continue reading
Posted in Python · Leave a comment

python编程中的异常处理教程

09 1月10 11月 by test4807991

1、异常简介 从软件方面来说,错误是语法或是逻辑上的,当python检测到一个错误时,解释器就会指出当前流已经 […]

Continue reading
Posted in Python · Leave a comment

python的time模块中的常用方法整理

08 1月10 11月 by test4807991

在应用程序的开发过程中,难免要跟日期、时间处理打交道。如:记录一个复杂算法的执行时间;网络通信中数据包的延迟等 […]

Continue reading
Posted in Python · Leave a comment

简介二分查找算法与相关的python实现示例

08 1月10 11月 by test4807991

二分查找binary search的思想: 以有序表表示静态查找表时,查找函数可以用二分查找来实现。 二分查找 […]

Continue reading
Posted in Python · Leave a comment

python中线程编程之threading模块的使用详解

07 1月10 11月 by test4807991

threading.thread thread 是threading模块中最重要的类之一,可以使用它来创建线程 […]

Continue reading
Posted in Python · Leave a comment

深入解读python解析xml的几种方式

07 1月10 11月 by test4807991

在xml解析方面,python贯彻了自己“开箱即用”(batteries included)的原则。在自带的标 […]

Continue reading
Posted in Python · Leave a comment

python实现的文件同步服务器实例

07 1月10 11月 by test4807991

本文实例讲述了python实现的文件同步服务器。分享给大家供大家参考。具体实现方法如下: 服务端使用async […]

Continue reading
Posted in Python · Leave a comment

python中的rfind()方法使用详解

07 1月10 11月 by test4807991

rfind()方法返回所在子str 被找到的最后一个索引,或者-1,如果没有这样的索引不存在,可选择限制搜索字 […]

Continue reading
Posted in Python · Leave a comment

在python的django框架中simple

07 1月10 11月 by test4807991

缘起 simple-todo最早是web.py一个中文教程的例子。后来uliweb的作者limodou 认为这 […]

Continue reading
Posted in Python · Leave a comment

python实现文本文件合并

07 1月10 11月 by test4807991

python合并文本文件示例代码。 python实现两个文本合并 employee文件中记录了工号和姓名 ca […]

Continue reading
Posted in Python · Leave a comment

python学习笔记整理3之输入输出、pythoneval函数

07 1月10 11月 by test4807991

1. python中的变量: python中的变量声明不需要像c++、java那样指定变量数据类型(int、f […]

Continue reading
Posted in Python · Leave a comment

python实现从ftp服务器下载文件的方法

06 1月10 11月 by test4807991

本文实例讲述了python实现从ftp服务器下载文件的方法。分享给大家供大家参考。具体实现方法如下: impo […]

Continue reading
Posted in Python · Leave a comment

python中super关键字用法实例分析

06 1月10 11月 by test4807991

本文实例讲述了python中super关键字用法。分享给大家供大家参考。具体分析如下: 在python类的方法 […]

Continue reading
Posted in Python · Leave a comment

使用python编写提取日志中的中文的脚本的方法

06 1月10 11月 by test4807991

由于工作需要在一大堆日志里面提取相应的一些固定字符,如果单纯靠手工取提取,数据量大,劳心劳力,于是自然而然想到 […]

Continue reading
Posted in Python · Leave a comment

python多线程抓取图片效率对比

06 1月10 11月 by test4807991

目的: 是学习python 多线程的工作原理,及通过抓取400张图片这种io密集型应用来查看多线程效率对比 i […]

Continue reading
Posted in Python · Leave a comment

python修改mp3文件的方法

06 1月10 11月 by test4807991

本文实例讲述了python修改mp3文件的方法。分享给大家供大家参考。具体如下: 用这个程序修改后的mp3比原 […]

Continue reading
Posted in Python · Leave a comment

在python下尝试多线程编程

05 1月10 11月 by test4807991

多任务可以由多进程完成,也可以由一个进程内的多线程完成。 我们前面提到了进程是由若干线程组成的,一个进程至少有 […]

Continue reading
Posted in Python · Leave a comment

python访问mysql数据库的实现方法(2则示例)

05 1月10 11月 by test4807991

本文实例讲述了python访问mysql数据库的实现方法。分享给大家供大家参考,具体如下: 首先安装与pyth […]

Continue reading
Posted in Python · Leave a comment

wxpython使用系统剪切板的方法

05 1月10 11月 by test4807991

本文实例讲述了wxpython使用系统剪切板的方法。分享给大家供大家参考。具体如下: 程序运行效果如下图所示: […]

Continue reading
Posted in Python · Leave a comment

python自定义类并使用的方法

05 1月10 11月 by test4807991

本文实例讲述了python自定义类并使用的方法。分享给大家供大家参考。具体如下: class person: […]

Continue reading
Posted in Python · Leave a comment

使用python写个小监控

05 1月10 11月 by test4807991

1.入门 首先你得用过c/c++、java、javascript等的一种,编程小白估计比较艰难,有一定编程经验 […]

Continue reading
Posted in Python · Leave a comment

python实现自动重启本程序的方法

05 1月10 11月 by test4807991

本文实例讲述了python实现自动重启本程序的方法。分享给大家供大家参考。具体实现方法如下: #!/usr/l […]

Continue reading
Posted in Python · Leave a comment

python通过索引遍历列表的方法

05 1月10 11月 by test4807991

本文实例讲述了python通过索引遍历列表的方法。分享给大家供大家参考。具体如下: python中我们可以通过 […]

Continue reading
Posted in Python · Leave a comment

python的函数的一些高阶特性

04 1月10 11月 by test4807991

高阶函数英文叫higher-order function。什么是高阶函数?我们以实际代码为例子,一步一步深入概 […]

Continue reading
Posted in Python · Leave a comment

python字符串特性及常用字符串方法的简单笔记

04 1月10 11月 by test4807991

单引号和双引号都能表示字符串。区别在于转义的时候。 如果懒得加转义字符,可以通过在字符串前面加上r。例如: p […]

Continue reading
Posted in Python · Leave a comment

深入解析python中的urllib2模块

03 1月10 11月 by test4807991

python 标准库中有很多实用的工具类,但是在具体使用时,标准库文档上对使用细节描述的并不清楚,比如 url […]

Continue reading
Posted in Python · Leave a comment

python的mongodb模块pymongo操作方法集锦

02 1月10 11月 by test4807991

开始之前当然要导入模块啦: >>> import pymongo 下一步,必须本地mongodb服务器的安装和 […]

Continue reading
Posted in Python · Leave a comment

python清除指定目录内所有文件中script的方法

02 1月10 11月 by test4807991

本文实例讲述了python清除指定目录内所有文件中script的方法。分享给大家供大家参考。具体如下: 将脚本 […]

Continue reading
Posted in Python · Leave a comment

python使用pygame模块编写俄罗斯方块游戏的代码实例

01 1月10 11月 by test4807991

文章先介绍了关于俄罗斯方块游戏的几个术语。 边框——由10*20个空格组成,方块就落在这里面。 盒子——组成方 […]

Continue reading
Posted in Python · 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笔记 ·