Skip to content
  • About Me

charlie笔记

A programmer’s note boke for work and life

月份:2016年12月

使用python脚本将文字转换为图片的实例分享

22 12月10 11月 by test4807991

有时候,我们需要将文本转换为图片,比如发长微博,或者不想让人轻易复制我们的文本内容等时候。目前类似的工具已经有 […]

Continue reading
Posted in Python · Leave a comment

python中的function定义方法

22 12月01 1月 by test30307667

下面就先定义一个函数: 代码如下: def foo(): print(‘function&#821 […]

Continue reading
Posted in 未分类 · Leave a comment

跟老齐学python之有点简约的元组

22 12月01 1月 by test16134286

关于元组,上一讲中涉及到了这个名词。本讲完整地讲述它。 先看一个例子: >>>#变量引用str >>> s = […]

Continue reading
Posted in 未分类 · Leave a comment

大四学生在广州当python实习生,工资1500元/月,高了还是低了?

22 12月01 1月 by test16134286

不包吃不包住。回复内容: 程序员找工作看两点a.能不能赚到足够多的钱b.能不能学到足够牛的技术给你开这个价位, […]

Continue reading
Posted in 未分类 · Leave a comment

可用于监控mysqlmasterslave状态的python代码

22 12月01 1月 by test30307667

代码如下: import osimport sysimport mysqldbdef getstatus(co […]

Continue reading
Posted in 未分类 · Leave a comment

在linux系统上安装python的scrapy框架的教程

22 12月10 11月 by test4807991

这是一款提取网站数据的开源工具。scrapy框架用python开发而成,它使抓取工作又快又简单,且可扩展。我们 […]

Continue reading
Posted in Python · Leave a comment

在docker上部署python的flask框架的教程

22 12月01 1月 by test30307667

docker 本文中,我将尝试展示用docker开发python应用(主要是web应用)的可行方法。虽然我本人 […]

Continue reading
Posted in 未分类 · Leave a comment

pythonpickle类库介绍(对象序列化和反序列化)

21 12月01 1月 by test30307667

一、pickle pickle模块用来实现python对象的序列化和反序列化。通常地pickle将python […]

Continue reading
Posted in 未分类 · Leave a comment

在python的django框架下使用django

21 12月01 1月 by test30307667

django使用app机制来实现组件的重用,充分的利用已有的app可以极大的简化开发工作。目前django下的 […]

Continue reading
Posted in 未分类 · Leave a comment

python实现系统状态监测和故障转移实例方法

21 12月01 1月 by test30307667

代码如下: #coding: utf-8import socketimport selectimport ti […]

Continue reading
Posted in 未分类 · Leave a comment

python实现把回车符rn转换成n

21 12月01 1月 by test30307667

最近在做cocos2d-x的简明配置,发现有的朋友的文本编辑器,自动将\r\n截断成\n,(在unix上换行使 […]

Continue reading
Posted in 未分类 · Leave a comment

在python中处理字符串之isdigit()方法的使用

21 12月01 1月 by test30307667

isdigit()方法检查字符串是否只包含数字(全由数字组成)。 语法 以下是isdigit()方法的语法: […]

Continue reading
Posted in 未分类 · Leave a comment

python妹子图简单爬虫实例

21 12月10 11月 by test4807991

本文实例讲述了python妹子图简单爬虫实现方法。分享给大家供大家参考。具体如下: #!/usr/bin/en […]

Continue reading
Posted in Python · Leave a comment

python读写文件操作示例程序

21 12月01 1月 by test30307667

文件操作示例 代码如下: #输入文件f = open(r’d:\python27\pro\123. […]

Continue reading
Posted in 未分类 · Leave a comment

python实现栈的方法

21 12月01 1月 by test30307667

本文实例讲述了python实现栈的方法。分享给大家供大家参考。具体实现方法如下: #!/usr/bin/env […]

Continue reading
Posted in 未分类 · Leave a comment

python字符串编码识别模块chardet简单应用

21 12月10 11月 by test4807991

python的字符串编码识别模块(第三方库): 官方地址: http://pypi.python.org/py […]

Continue reading
Posted in Python · Leave a comment

python实现识别相似图片小结

21 12月10 11月 by test4807991

文章简介 在网上看到python做图像识别的相关文章后,真心感觉python的功能实在太强大,因此将这些文章总 […]

Continue reading
Posted in Python · Leave a comment

浅谈python中列表生成式和生成器的区别

21 12月10 11月 by test4807991

列表生成式语法: [x*x for x in range(0,10)] //列表生成式,这里是中括号 //结果 […]

Continue reading
Posted in Python · Leave a comment

作为非计算机专业毕业生,想学r语言,最好是不是从python学起?

21 12月01 1月 by test16134286

方向是数据分析,偏统计和网络分析

Continue reading
Posted in 未分类 · Leave a comment

利用一个简单的例子窥探cpython内核的运行机制

21 12月01 1月 by test30307667

我最近花了一些时间在探索cpython,并且我想要在这里分享我的一些冒险经历。allison kaptur的e […]

Continue reading
Posted in 未分类 · Leave a comment

在python3中实现类型检查器的简单方法

21 12月01 1月 by test30307667

示例函数 为了开发类型检查器,我们需要一个简单的函数对其进行实验。欧几里得算法就是一个完美的例子: def g […]

Continue reading
Posted in 未分类 · Leave a comment

python正则式概述及常用字符

20 12月01 1月 by test30307667

1.元字符: . 它匹配除了换行字符外的任何字符,在 alternate 模式(re.dotall)下它甚至可 […]

Continue reading
Posted in 未分类 · Leave a comment

使用python的django框架结合jquery实现ajax购物车页面

20 12月01 1月 by test16134286

django中集成jquery 首先,静态的资源通常放入static文件夹中: static/ css/ dj […]

Continue reading
Posted in 未分类 · Leave a comment

python分割和拼接字符串

20 12月01 1月 by test16134286

关于string的split 和 join 方法对导入os模块进行os.path.splie()/os.pat […]

Continue reading
Posted in 未分类 · Leave a comment

python二叉搜索树与双向链表转换实现方法

20 12月01 1月 by test16134286

本文实例讲述了python二叉搜索树与双向链表实现方法。分享给大家供大家参考,具体如下: # encoding […]

Continue reading
Posted in 未分类 · Leave a comment

python实现的彩票机选器实例

20 12月01 1月 by test30307667

本文实例讲述了python实现彩票机选器的方法。分享给大家供大家参考。具体实现方法如下: # -*- codi […]

Continue reading
Posted in 未分类 · Leave a comment

python中的全局变量用法分析

20 12月01 1月 by test30307667

本文实例分析了python中的全局变量用法。分享给大家供大家参考。具体分析如下: python是一种面向对象的 […]

Continue reading
Posted in 未分类 · Leave a comment

python去除所有html标签的方法

20 12月10 11月 by test4807991

本文实例讲述了python去除所有html标签的方法。分享给大家供大家参考。具体分析如下: 这段代码可以用于去 […]

Continue reading
Posted in Python · Leave a comment

python静态方法实例

20 12月01 1月 by test30307667

本文实例讲述了python静态方法。分享给大家供大家参考。 具体实现方法如下: 代码如下: staticmet […]

Continue reading
Posted in 未分类 · Leave a comment

理解python中的类与实例

20 12月10 11月 by test4807991

面向对象最重要的概念就是类(class)和实例(instance),必须牢记类是抽象的模板,比如student […]

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