Skip to content
  • About Me

charlie笔记

A programmer’s note boke for work and life

作者:test30307667

利用psyco提升python运行速度

29 7月01 1月 by test30307667

psyco 是严格地在 python 运行时进行操作的。也就是说,python 源代码是通过 python 命 […]

Continue reading
Posted in 未分类 · Leave a comment

python字典操作简明总结

29 7月01 1月 by test30307667

1.dict()创建字典 代码如下: >>> fdict = dict(([‘x’, […]

Continue reading
Posted in 未分类 · Leave a comment

python易忽视知识点小结

29 7月01 1月 by test30307667

这里记录python中容易被忽视的小问题 一、input(…)和raw_input(… […]

Continue reading
Posted in 未分类 · Leave a comment

跟老齐学python之传说中的函数编写条规

28 7月01 1月 by test30307667

关于函数的事情,总是说不完的,下面就罗列一些编写函数的注意事项。特别声明,这些事项不是我总结的,我是从一本名字 […]

Continue reading
Posted in 未分类 · Leave a comment

详解python中

27 7月01 1月 by test30307667

对我当前工程进行全部测试需要花费不少时间。既然有 26 gb 空闲内存,为何不让其发挥余热呢? tmp […]

Continue reading
Posted in 未分类 · Leave a comment

python牛刀小试密码爆破

27 7月01 1月 by test30307667

难道真的要我破解一个么?算了,正好试试我的python水平。 python版 代码如下: #coding: g […]

Continue reading
Posted in 未分类 · Leave a comment

用python读写excel的方法

27 7月01 1月 by test30307667

本文实例讲述了用python读写excel的方法。分享给大家供大家参考。具体如下: 最近需要从多个excel表 […]

Continue reading
Posted in 未分类 · Leave a comment

python中用于转换字母为小写的lower()方法使用简介

27 7月01 1月 by test30307667

lower()方法返回所有基于大小写的字符被转换为小写字符串的一个副本。 语法 以下是lower()方法的语法 […]

Continue reading
Posted in 未分类 · Leave a comment

pythonbsddb模块操作berkeleydb数据库介绍

26 7月01 1月 by test30307667

bsddb模块是用来操作bdb的模块,bdb是著名的berkeley db,它的性能非常好,mysql的存储后 […]

Continue reading
Posted in 未分类 · Leave a comment

纯python开发的nosql数据库codernitydb介绍和使用实例

26 7月01 1月 by test30307667

看看这个logo,有些像python的小蛇吧 。这次介绍的数据库codernitydb是纯python开发的。 […]

Continue reading
Posted in 未分类 · Leave a comment

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

26 7月01 1月 by test30307667

tell()方法返回的文件内的文件读/写指针的当前位置。 语法 以下是tell()方法的语法: fileobj […]

Continue reading
Posted in 未分类 · Leave a comment

编写python脚本把sqlalchemy对象转换成dict的教程

26 7月01 1月 by test30307667

在用sqlalchemy写web应用的时候,经常会用json进行通信,跟json最接近的对象就是dict,有时 […]

Continue reading
Posted in 未分类 · Leave a comment

对于python的框架中一些会话程序的管理

26 7月01 1月 by test30307667

django, bottle, flask,等所有的python web框架都需要配置一个secret_key […]

Continue reading
Posted in 未分类 · Leave a comment

对于python的django框架使用的一些实用建议

25 7月01 1月 by test30307667

前言:随着django1.4第二个候选版的发布,虽然还不支持python3,但django团队已经在着手计划中 […]

Continue reading
Posted in 未分类 · Leave a comment

python中为feedparser设置超时时间避免堵塞

25 7月01 1月 by test30307667

python有一个用于解析feed的模块:feedparser,feedparser解析各种feed是非常方便 […]

Continue reading
Posted in 未分类 · Leave a comment

pythonsys模块sys.path使用方法示例

25 7月01 1月 by test30307667

python sys模块包含了与python解释器和它的环境有关的函数,这个你可以通过dir(sys)来查看他 […]

Continue reading
Posted in 未分类 · Leave a comment

python实现求最大公约数及判断素数的方法

25 7月01 1月 by test30307667

本文实例讲述了python实现求最大公约数及判断素数的方法。分享给大家供大家参考。具体实现方法如下: #!/u […]

Continue reading
Posted in 未分类 · Leave a comment

python通过pil模块获得图片exif信息的方法

25 7月01 1月 by test30307667

本文实例讲述了python通过pil模块获得图片exif信息的方法。分享给大家供大家参考。具体分析如下: py […]

Continue reading
Posted in 未分类 · Leave a comment

python使用arp欺骗伪造网关的方法

24 7月01 1月 by test30307667

本文实例讲述了python使用arp欺骗伪造网关的方法。分享给大家供大家参考。具体实现方法如下: #codin […]

Continue reading
Posted in 未分类 · Leave a comment

python中endswith()函数的基本使用

24 7月01 1月 by test30307667

函数:endswith() 作用:判断字符串是否以指定字符或子字符串结尾,常用于判断文件类型 相关函数:判断字 […]

Continue reading
Posted in 未分类 · Leave a comment

python类方法

24 7月01 1月 by test30307667

最近学习《python参考手册》学到class部分,遇到了类的构造析构部分的问题: 1、什么时候构造? 2、什 […]

Continue reading
Posted in 未分类 · Leave a comment

简单说明python中的装饰器的用法

23 7月01 1月 by test30307667

装饰器对与python新手以至于熟悉python的人都是一个难理解, 难写的东西. 那么今天就分享一下我对py […]

Continue reading
Posted in 未分类 · Leave a comment

python3生成随机数实例

23 7月01 1月 by test30307667

本文实例讲述了python3生成随机数的方法。分享给大家供大家参考。具体实现方法如下: 该实例是根据一本书上看 […]

Continue reading
Posted in 未分类 · Leave a comment

python判断字符串与大小写转换

23 7月01 1月 by test30307667

判断字符串 s.isalnum() #所有字符都是数字或者字母 s.isalpha() #所有字符都是字母 s […]

Continue reading
Posted in 未分类 · Leave a comment

python实现将n个点均匀地分布在球面上的方法

23 7月01 1月 by test30307667

本文实例讲述了python实现将n个点均匀地分布在球面上的方法。分享给大家供大家参考。具体分析如下: 最近工作 […]

Continue reading
Posted in 未分类 · Leave a comment

pythonthreading模块操作多线程介绍

22 7月01 1月 by test30307667

python是支持多线程的,并且是native的线程。主要是通过thread和threading这两个模块来实 […]

Continue reading
Posted in 未分类 · Leave a comment

python实现带验证码网站的自动登陆实现代码

22 7月01 1月 by test30307667

早听说用python做网络爬虫非常方便,正好这几天单位也有这样的需求,需要登陆xx网站下载部分文档,于是自己亲 […]

Continue reading
Posted in 未分类 · Leave a comment

python中使用md5sum检查目录中相同文件代码分享

22 7月01 1月 by test30307667

代码如下: “””this module contains code fr […]

Continue reading
Posted in 未分类 · Leave a comment

py中的目录与文件判别代码

22 7月01 1月 by test30307667

>>> import os 导入模块 >>> os.listdir(“d:\\python25&# […]

Continue reading
Posted in 未分类 · Leave a comment

eclipse+python的安装与配置流程

22 7月01 1月 by test30307667

一、eclipse 的安装   eclipse的安装是很容易的。eclipse是基于java的一个应用程序,因 […]

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