Skip to content
  • About Me

charlie笔记

A programmer’s note boke for work and life

分类:Python

python笔记,python案例,python学习

python 视频处理,提取视频相关帧,读取Excel

18 4月 by helenadmin

import cv2.cv as cv   import os   import cv2   import n […]

Continue reading
Posted in Python · Tagged python 视频处理 · Leave a comment

python图像处理工具opencv

04 3月 by helenadmin

代码: 执行结果 源码: https://github.com/china-testing/python-ap […]

Continue reading
Posted in Python · Tagged python opencv, 图像处理工具 · Leave a comment

使用python排八字 计算八字

26 2月04 3月 by helenadmin

依赖库:sxtwl bidict #!/usr/bin/env python3 # -*- coding: u […]

Continue reading
Posted in Python · Tagged python八字算命 · Leave a comment

PyAudio 实现录音 自动化交互实现问答(python人工智能)

14 2月04 3月 by helenadmin

Python 很强大其原因就是因为它庞大的三方库 , 资源是非常的丰富 , 当然也不会缺少关于音频的库 关于音 […]

Continue reading
Posted in Python · Tagged PyAudio, python人工智能 · Leave a comment

python unitest webdriver 自动化测试并出报告文件,发送邮件

24 12月 by helenadmin

#引导index #!/usr/bin/python # -*- coding: utf-8 -*- ”’ […]

Continue reading
Posted in Python · Tagged python, unitest, webdriver · Leave a comment

Python+Selenium+Webdriver常用函数

18 12月 by helenadmin

常用方法函数 加载浏览器驱动: webdriver.Firefox() 打开页面:get() 关闭浏览器:qu […]

Continue reading
Posted in Python · Tagged python, Selenium, Webdriver常用函数 · Leave a comment

python上手项目

18 12月18 12月 by helenadmin

关于这50个练手项目:学习任何语言,最终都是通过实际动手操作来内化、巩固知识的;如果你已经看过不少书籍、视频, […]

Continue reading
Posted in Python · Tagged python上手项目 · Leave a comment

python学习系统性测试

18 12月 by helenadmin

1、为什么学习Python? 人生苦短?人间不值得?想想自己的初心吧! 2、通过什么途径学习的Python? […]

Continue reading
Posted in Python · Tagged python学习系统性测试 · Leave a comment

python unittest单元测试小实例

08 12月 by helenadmin

import unittest import time from lib.HTMLTestRunner imp […]

Continue reading
Posted in Python · Tagged python 单元测试, unittest · Leave a comment

Python Selenium 进行 web 自动化测试

08 11月 by helenadmin

配置使用环境 下载相应的浏览器驱动, Firefox 是默认的 本文以 chrome 为主 ,放在script […]

Continue reading
Posted in Python · Tagged Python Selenium进行 web 自动化测试, Selenium, 自动化测试 · Leave a comment

pickle库详解

11 10月 by helenadmin

那么为什么需要序列化和反序列化这一操作呢? 便于存储。序列化过程将文本信息转变为二进制数据流。这样就信息就容易 […]

Continue reading
Posted in Python · Tagged pickle库, 序列反序列 · Leave a comment

python部署LNMP业务服务环境

07 9月 by helenadmin

# -*- coding:UTF-8 -*- ”’ 部署LNMP业务服务环境 Crea […]

Continue reading
Posted in Python · Tagged python部署LNMP业务服务环境 · Leave a comment

python进阶教程

19 7月 by helenadmin

模块重新导入 当import moduleName 的时候,python是通过sys.path 来查找的。可以 […]

Continue reading
Posted in Python · Tagged python进阶教程 · Leave a comment

python的线程与进程

19 7月 by helenadmin

很多同学都听说过,现代操作系统比如Mac OS X,UNIX,Linux,Windows等,都是支持“多任务” […]

Continue reading
Posted in Python · Tagged python多线程 · Leave a comment

python 图片采集并下载 实现切剪缩略图

29 6月 by helenadmin

# -*- coding: utf-8 -*- import requests from bs4 import […]

Continue reading
Posted in Python · Tagged python爬虫 · Leave a comment

Python实现字符型图片验证码识别

25 1月 by helenadmin

一般情况下,对于字符型验证码的识别流程如下: 准备原始图片素材 图片预处理 图片字符切割 图片尺寸归一化 图片 […]

Continue reading
Posted in Python · Tagged python, 图片识别, 字符型图片验证码识别 · Leave a comment

python处理json数据中的中文

27 10月10 11月 by helenadmin

python中自带了处理python的模块,使用时候直接import json即可。 使用loads方法即可将 […]

Continue reading
Posted in Python · Leave a comment

windows下python模拟鼠标点击和键盘输示例

26 10月10 11月 by helenadmin

需要先装pywin32,windows下调用winapi的接口 代码如下: ## _*_ coding:utf […]

Continue reading
Posted in Python · Leave a comment

免费天气预报代码 python版

25 10月15 11月 by helenadmin

代码如下: import urllib2import jsonimport stringurl =&#8217 […]

Continue reading
Posted in Python · Tagged 免费天气预报代码 · Leave a comment

python数据转换函数汇总

23 10月15 11月 by helenadmin

1、chr(i)chr()函数返回ascii码对应的字符串。 代码如下: >>> print […]

Continue reading
Posted in Python · Tagged python数据转换函数 · Leave a comment

python教程-文件读写操作实例详解

22 10月15 11月 by helenadmin

一、python中对文件、文件夹操作时经常用到的os模块和shutil模块常用方法。1.得到当前工作目录,即当 […]

Continue reading
Posted in Python · Tagged python教程 · Leave a comment

python教程-python数据类型介绍

21 10月15 11月 by helenadmin

python基本数据类型详细介绍 1、空(none)表示该值是一个空对象,空值是python里一个特殊的值,用 […]

Continue reading
Posted in Python · Tagged python数据类型介绍 · Leave a comment

python教程 -python3模拟登录百度贴吧签到案例设计

20 10月15 11月 by helenadmin

baiduclient.py 代码如下: import urllib.parseimport gzipimpo […]

Continue reading
Posted in Python · Tagged python3模拟登录百度贴吧签到案例设计 · Leave a comment

python教程 -python异常处理详解

20 10月15 11月 by helenadmin

一、什么是异常?异常即是一个事件,该事件会在程序执行过程中发生,影响了程序的正常执行。一般情况下,在pytho […]

Continue reading
Posted in Python · Tagged python异常处理详解 · Leave a comment

python socket编程 实现socket客户端和服务端

20 10月15 11月 by helenadmin

代码如下: import socket#socket通信客户端def client(): mysocket=s […]

Continue reading
Posted in Python · Tagged python socket编程 · Leave a comment

python爬虫-通过urllib2爬网页上种子下载

20 10月15 11月 by helenadmin

通过urllib2、re模块抓种子 思路 1.用程序登录论坛(如果需要登录才能访问的版块) 2.访问指定版块 […]

Continue reading
Posted in Python · Tagged python爬虫,通过urllib2爬网页上种子下载 · Leave a comment

python基础教程-装饰器验证配置文件

20 10月15 11月 by helenadmin

根据不同配置文件调用不同的验证函数检查输入。可以根据需求更改验证函数的逻辑。 代码如下: def verify […]

Continue reading
Posted in Python · Tagged python基础教程,装饰器验证配置文件 · Leave a comment

python教程 实现dict版图遍历

20 10月15 11月 by helenadmin

代码如下: #_*_coding:utf_8_import sysimport os class graph( […]

Continue reading
Posted in Python · Tagged python教程,实现dict版图遍历 · Leave a comment

python使用7z解压软件备份文件脚本分享

20 10月10 11月 by helenadmin

要求安装: 1.python2.7z解压软件 backup_2.py 代码如下: # filename: ba […]

Continue reading
Posted in Python · Leave a comment

使用python在校内发人人网状态(人人网看状态)

20 10月10 11月 by helenadmin

代码如下: #_*_coding:utf_8_ from sgmllib import sgmlparseri […]

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