Skip to content
  • About Me

charlie笔记

A programmer’s note boke for work and life

月份:2016年4月

将python中的数据存储到系统本地的简单方法

23 4月01 1月 by test30307667

有很多时候,我们会在python的运行过程中得到一些重要的变量,比如一个数据量很庞大的dict。而且,后面的某 […]

Continue reading
Posted in 未分类 · Leave a comment

python去除字符串两端空格的方法

23 4月01 1月 by test30307667

目的   获得一个首尾不含多余空格的字符串 方法 可以使用字符串的以下方法处理: string.lstrip( […]

Continue reading
Posted in 未分类 · Leave a comment

python使用win32com库播放mp3文件的方法

23 4月01 1月 by test30307667

本文实例讲述了python使用win32com库播放mp3文件的方法。分享给大家供大家参考。具体实现方法如下: […]

Continue reading
Posted in 未分类 · Leave a comment

让python的cookie.py模块支持冒号做key的方法

23 4月01 1月 by test30307667

为了做好兼容性,只能选择兼容:冒号。 很简单,修改一下cookie.morsel 代码如下: #!/usr/b […]

Continue reading
Posted in 未分类 · Leave a comment

python字符串处理函数简明总结

23 4月01 1月 by test30307667

返回被去除指定字符的字符串 默认去除空白字符 删除首尾字符:str.strip([char]) 删除首字符:s […]

Continue reading
Posted in 未分类 · Leave a comment

python读取excel的方法实例分析

23 4月01 1月 by test4807991

本文实例讲述了python读取excel的方法。分享给大家供大家参考。具体如下: 今天需要从一个excel文档 […]

Continue reading
Posted in 未分类 · Leave a comment

python的dict字典结构操作方法学习笔记

22 4月01 1月 by test16134286

一.字典的基本方法 1.新建字典 1)、建立一个空的字典 >>> dict1={} >>> dict2=dic […]

Continue reading
Posted in 未分类 · Leave a comment

python3实现的腾讯微博自动发帖小工具

22 4月01 1月 by test16134286

代码如下: # -*- coding: utf-8 -*-import mysql.connector as […]

Continue reading
Posted in 未分类 · Leave a comment

在gnumeric下使用python脚本操作表格的教程

22 4月01 1月 by test30307667

关于gnumeric gnumeric是linux平台下的一款功能强大且易于使用的电子表格软件,与其他常用电子 […]

Continue reading
Posted in 未分类 · Leave a comment

总结python编程中函数的使用要点

22 4月01 1月 by test16134286

为何使用函数 最大化代码的重用和最小化代码冗余 流程的分解 编写函数 >>def语句 在python中创建一个 […]

Continue reading
Posted in 未分类 · Leave a comment

python实现字符串和日期相互转换的方法

22 4月01 1月 by test4807991

本文实例讲述了python实现字符串和日期相互转换的方法。分享给大家供大家参考。具体分析如下: 这里用的分别是 […]

Continue reading
Posted in 未分类 · Leave a comment

python验证码识别处理实例

22 4月01 1月 by test4807991

一、准备工作与代码实例 (1)安装pil:下载后是一个exe,直接双击安装,它会自动安装到c:\python2 […]

Continue reading
Posted in 未分类 · Leave a comment

python执行等待程序直到第二天零点的方法

22 4月01 1月 by test4807991

本文实例讲述了python执行等待程序直到第二天零点的方法。分享给大家供大家参考。具体分析如下: 如果需要通过 […]

Continue reading
Posted in 未分类 · Leave a comment

python新手实现2048小游戏

22 4月01 1月 by test30307667

接触 python 不久,看到很多人写2048,自己也捣鼓了一个,主要是熟悉python语法。 程序使用pyt […]

Continue reading
Posted in 未分类 · Leave a comment

python代码的打包与发布详解

22 4月01 1月 by test16134286

在python程序中,一个.py文件被当作一个模块,在各个模块中定义了不同的函数。当我们要使用某一个模块中的某 […]

Continue reading
Posted in 未分类 · Leave a comment

python用作后台开发语言在国内的前景?

22 4月01 1月 by test16134286

本人大三,大二下开始学习用python做后台开发,但是周围的人基本都在用java做后台开发,而且大公司像阿里这 […]

Continue reading
Posted in 未分类 · Leave a comment

python实现发送email的几种常用方法

22 4月01 1月 by test16134286

学过python的人都知道,实用python实现发送email的功能还是比较简单的,可以通过登录邮件服务来发送 […]

Continue reading
Posted in 未分类 · Leave a comment

在python3下怎样用flask

22 4月01 1月 by test16134286

网上很多都是python2的,例子都是sqlite的,按别人说的更改database_uri是没法操作mysq […]

Continue reading
Posted in 未分类 · Leave a comment

使用httplib模块来制作python下http客户端的方法

22 4月01 1月 by test4807991

httplib 是 python中http 协议的客户端实现,可以使用该模块来与 http 服务器进行交互。h […]

Continue reading
Posted in 未分类 · Leave a comment

python中if

21 4月01 1月 by test30307667

想必很多初次接触python都会见到这样一个语句,if __name__ == “__main__ […]

Continue reading
Posted in 未分类 · Leave a comment

为什么学完慕课网上python的课程,感觉还是一无所知?

21 4月01 1月 by test16134286

没有很明确的概念,想实现一些简单的功能,却感觉无从下手。回复内容: 看完《孙子兵法》就会指挥军队了么?上完课, […]

Continue reading
Posted in 未分类 · Leave a comment

python的字典和列表的使用中一些需要注意的地方

21 4月01 1月 by test30307667

python 中有三个非常好用的数据结构,列表,元组和字典, 元组是不可变的,列表可以保存任意类型的pytho […]

Continue reading
Posted in 未分类 · Leave a comment

跟老齐学python之集成开发环境(ide)

21 4月01 1月 by test16134286

当安装好python之后,其实就已经可以进行开发了。下面我们开始写第一行python代码。 值得纪念的时刻:h […]

Continue reading
Posted in 未分类 · Leave a comment

python转换字符串为摩尔斯电码的方法

21 4月01 1月 by test30307667

本文实例讲述了python转换字符串为摩尔斯电码的方法。分享给大家供大家参考。具体实现方法如下: chars […]

Continue reading
Posted in 未分类 · Leave a comment

python发布模块的步骤分享

21 4月01 1月 by test16134286

1.为模块nester创建文件夹nester,其中包含:nester.py(模块文件): 代码如下: &#82 […]

Continue reading
Posted in 未分类 · Leave a comment

python中将字典转换为xml以及相关的命名空间解析

21 4月01 1月 by test4807991

尽管 xml.etree.elementtree 库通常用来做解析工作,其实它也可以创建xml文档。 例如,考 […]

Continue reading
Posted in 未分类 · Leave a comment

介绍python中的文档测试模块

21 4月01 1月 by test4807991

如果你经常阅读python的官方文档,可以看到很多文档都有示例代码。比如re模块就带了很多示例代码: >>> […]

Continue reading
Posted in 未分类 · Leave a comment

为什么python要使用有明显缺陷的引用计数而不是像javascript一样的标记清除?

21 4月01 1月 by test16134286

引用计数有循环计数这个明显缺陷,那为什么python还要使用引用计数而不是标记清除呢?回复内容: 引用计数最大 […]

Continue reading
Posted in 未分类 · Leave a comment

python函数可变参数定义及其参数传递方式实例详解

21 4月01 1月 by test30307667

本文实例讲述了python函数可变参数定义及其参数传递方式。分享给大家供大家参考。具体分析如下: python […]

Continue reading
Posted in 未分类 · Leave a comment

python图像灰度变换及图像数组操作

21 4月01 1月 by test4807991

使用python以及numpy通过直接操作图像数组完成一系列基本的图像处理 numpy简介: numpy是一个 […]

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