Skip to content
  • About Me

charlie笔记

A programmer’s note boke for work and life

作者:test4807991

python编程中time模块的一些关键用法解析

20 11月10 11月 by test4807991

python中time模块其实不难,就是关系转换有点老记不住,先看下图可以说明几个时间对象的的关系.供参考理解 […]

Continue reading
Posted in Python · Leave a comment

python基于xmlrpc实现二进制文件传输的方法

20 11月10 11月 by test4807991

本文实例讲述了python基于xmlrpc实现二进制文件传输的方法。分享给大家供大家参考。具体实现方法如下: […]

Continue reading
Posted in Python · Leave a comment

python获取系统默认字符编码的方法

19 11月10 11月 by test4807991

本文实例讲述了python获取系统默认字符编码的方法。分享给大家供大家参考。具体分析如下: 在python代码 […]

Continue reading
Posted in Python · Leave a comment

python实现井字棋游戏

19 11月10 11月 by test4807991

本文实例介绍了python实现井字棋游戏的方法,分享给大家,具体内容如下 windows7下python3.4 […]

Continue reading
Posted in Python · Leave a comment

举例讲解python设计模式编程的代理模式与抽象工厂模式

19 11月10 11月 by test4807991

代理模式 proxy模式是一种常用的设计模式,它主要用来通过一个对象(比如b)给一个对象(比如a) 提供&#8 […]

Continue reading
Posted in Python · Leave a comment

简单介绍python中的floor()方法

19 11月10 11月 by test4807991

floor()方法返回不大于x的最大整数(向下取整)。 语法 以下是floor()方法的语法: import […]

Continue reading
Posted in Python · Leave a comment

python模拟百度登录实例详解

19 11月10 11月 by test4807991

最近公司产品和百度贴吧合作搞活动,为了增加人气,打算做个自动签到的小程序。这个是测试登录的代码,写的比较随意, […]

Continue reading
Posted in Python · Leave a comment

python浅拷贝与深拷贝用法实例

19 11月10 11月 by test4807991

本文实例讲述了python浅拷贝与深拷贝用法。分享给大家供大家参考。具体分析如下: >>> person=[& […]

Continue reading
Posted in Python · Leave a comment

python统计日志ip访问数的方法

19 11月10 11月 by test4807991

本文实例讲述了python统计日志ip访问数的方法。分享给大家供大家参考。具体如下: import re f= […]

Continue reading
Posted in Python · Leave a comment

python变量作用范围实例分析

19 11月10 11月 by test4807991

本文实例讲述了python变量作用范围。分享给大家供大家参考。具体如下: #coding=utf-8 #变量作 […]

Continue reading
Posted in Python · Leave a comment

python中list.count()方法的使用教程

19 11月10 11月 by test4807991

count()方法返回obj出现在列表的次数。 语法 以下是count()方法的语法: list.count( […]

Continue reading
Posted in Python · Leave a comment

python实现身份证号码解析

18 11月10 11月 by test4807991

中国的居民身份证有18位。其中前17位是信息码,最后1位是校验码。每位信息码可以是0-9的数字,而校验码可以是 […]

Continue reading
Posted in Python · Leave a comment

python中的configparser模块使用详解

18 11月10 11月 by test4807991

1.基本的读取配置文件 -read(filename) 直接读取ini文件内容 -sections() 得到所 […]

Continue reading
Posted in Python · Leave a comment

使用wxpython获取系统剪贴板中的数据的教程

17 11月10 11月 by test4807991

涉及到开发桌面程序,尤其是文本处理,剪贴板就很常用,不像 java 中那么烦锁,wxpython 中访问剪贴板 […]

Continue reading
Posted in Python · Leave a comment

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

17 11月10 11月 by test4807991

localtime()方法类似gmtime()方法,但它转换秒数为本地时间。如果不设置秒时或none,所返回的 […]

Continue reading
Posted in Python · Leave a comment

编写python脚本来实现最简单的ftp下载的教程

17 11月10 11月 by test4807991

访问ftp,无非两件事情:upload和download,最近在项目中需要从ftp下载大量文件,然后我就试着去 […]

Continue reading
Posted in Python · Leave a comment

python中利用sorted()函数排序的简单教程

16 11月10 11月 by test4807991

排序算法 排序也是在程序中经常用到的算法。无论使用冒泡排序还是快速排序,排序的核心是比较两个元素的大小。如果是 […]

Continue reading
Posted in Python · Leave a comment

python中的编码知识整理汇总

16 11月10 11月 by test4807991

问题 在平时工作中,遇到了这样的错误: unicodedecodeerror: ‘ascii&#8 […]

Continue reading
Posted in Python · Leave a comment

python数组复制拷贝的实现方法

15 11月10 11月 by test4807991

本文实例讲述了python数组复制拷贝的实现方法。分享给大家供大家参考。具体分析如下: python中直接通过 […]

Continue reading
Posted in Python · Leave a comment

八大排序算法的python实现

14 11月10 11月 by test4807991

python实现八大排序算法,具体内容如下 1、插入排序 描述 插入排序的基本操作就是将一个数据插入到已经排好 […]

Continue reading
Posted in Python · Leave a comment

介绍python的urllib库的一些高级用法

13 11月10 11月 by test4807991

1.设置headers 有些网站不会同意程序直接用上面的方式进行访问,如果识别有问题,那么站点根本不会响应,所 […]

Continue reading
Posted in Python · Leave a comment

在python中使用html模版的教程

13 11月10 11月 by test4807991

web框架把我们从wsgi中拯救出来了。现在,我们只需要不断地编写函数,带上url,就可以继续web app的 […]

Continue reading
Posted in Python · Leave a comment

python根据京东商品url获取产品价格

13 11月10 11月 by test4807991

京东商品详细的请求处理,是先显示html,然后再ajax请求处理显示价格。 1.可以运行js,并解析之后得到的 […]

Continue reading
Posted in Python · Leave a comment

python网络爬虫初级实现代码

12 11月10 11月 by test4807991

首先,我们来看一个python抓取网页的库:urllib或urllib2。 那么urllib与urllib2有 […]

Continue reading
Posted in Python · Leave a comment

简单解析django框架中的表单验证

12 11月01 1月 by test4807991

我们的搜索示例仍然相当地简单,特别从数据验证方面来讲;我们仅仅只验证搜索关键值是否为空。 然后许多html表单 […]

Continue reading
Posted in 未分类 · Leave a comment

python中的推导式使用详解

12 11月10 11月 by test4807991

推导式是python中很强大的、很受欢迎的特性,具有语言简洁,速度快等优点。推导式包括: 1.列表推导式 2. […]

Continue reading
Posted in Python · Leave a comment

python开发之thread线程基础实例入门

12 11月10 11月 by test4807991

本文实例讲述了python开发之thread线程基础。分享给大家供大家参考,具体如下: 说到线程,我们要知道啥 […]

Continue reading
Posted in Python · Leave a comment

python文件管理实例详解

12 11月10 11月 by test4807991

本文实例讲述了python 文件管理的方法。分享给大家供大家参考,具体如下: 一、python中的文件管理 文 […]

Continue reading
Posted in Python · Leave a comment

在python中使用

12 11月10 11月 by test4807991

正常情况下,当我们定义了一个class,创建了一个class的实例后,我们可以给该实例绑定任何属性和方法,这就 […]

Continue reading
Posted in Python · Leave a comment

python中的zipfile模块使用详解

12 11月10 11月 by test4807991

zip文件格式是通用的文档压缩标准,在ziplib模块中,使用zipfile类来操作zip文件,下面具体介绍一 […]

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