Skip to content
  • About Me

charlie笔记

A programmer’s note boke for work and life

月份:2016年4月

python加pygame实现的简单拼图游戏实例

28 4月01 1月 by test4807991

本文实例讲述了python加pygame实现的简单拼图游戏。分享给大家供大家参考。具体实现方法如下: impo […]

Continue reading
Posted in 未分类 · Leave a comment

用c++和python开发opencv程序比较?

28 4月01 1月 by test16134286

用c++和python开发opencv程序有什么区别?大家做个比较吧!——————————以下由刘铲铲提问—— […]

Continue reading
Posted in 未分类 · Leave a comment

python改变日志(logging)存放位置的示例

28 4月01 1月 by test16134286

实现了简单版本的logging.config,支持一般的通过config文件进行配置。感觉还有更好的方法,是直 […]

Continue reading
Posted in 未分类 · Leave a comment

python中给list添加元素的4种方法分享

28 4月01 1月 by test30307667

list 是 python 中常用的数据类型,它一个有序集合,即其中的元素始终保持着初始时的定义的顺序(除非你 […]

Continue reading
Posted in 未分类 · Leave a comment

python标准库之sys模块使用详解

28 4月01 1月 by test30307667

sys 模块提供了许多函数和变量来处理 python 运行时环境的不同部分. 处理命令行参数 在解释器启动后, […]

Continue reading
Posted in 未分类 · Leave a comment

在linux系统上部署apache+python+django+mysql环境

28 4月01 1月 by test4807991

linux+apache+mysql+python+mod_python+django 说明:系统rhel 5 […]

Continue reading
Posted in 未分类 · Leave a comment

python基础教程之面向对象的一些概念

27 4月01 1月 by test16134286

python使用类(class)和对象(object),进行面向对象(object-oriented prog […]

Continue reading
Posted in 未分类 · Leave a comment

python实现计算文件夹下.h和.cpp文件的总行数

27 4月01 1月 by test30307667

平时自己写了很多代码,但从没好好计算总共写了多少行,面试时被问起来,就傻了。。。闲来无事,写个python程序 […]

Continue reading
Posted in 未分类 · Leave a comment

树莓派为什么采用python语言为主要开发语言?

27 4月01 1月 by test16134286

回复内容: 他老爸想让更多小孩学会编程,去用电脑实现自己有趣的想法。本来打算只让这个机器跑python(是只跑 […]

Continue reading
Posted in 未分类 · Leave a comment

python访问纯真ip数据库脚本分享

27 4月01 1月 by test4807991

项目中有这样的需求,通过ip地址判断客户端是网通的还是电信的。从同事那拿了个纯文本的ip纯真数据库,用pyth […]

Continue reading
Posted in 未分类 · Leave a comment

python中使用插入排序算法的简单分析与代码示例

27 4月01 1月 by test16134286

问题描述 将一组随机排列的数字重新按照从小到大的顺序排列。 插入算法 每次从数组中取一个数字,与现有数字比较并 […]

Continue reading
Posted in 未分类 · Leave a comment

python字典(dict)遍历的四种方法性能测试报告

27 4月01 1月 by test16134286

python中,遍历dict的方法有四种。但这四种遍历的性能如何呢?我做了如下的测试 l = [(x,x) f […]

Continue reading
Posted in 未分类 · Leave a comment

使用pythonbeautifulsoup库抓取58手机维修信息

27 4月01 1月 by test30307667

直接上代码: 代码如下: #!/usr/bin/python# -*- coding: utf-8 -*- i […]

Continue reading
Posted in 未分类 · Leave a comment

python脚本设置系统时间的两种方法

27 4月01 1月 by test4807991

本文为大家分享了两种python脚本设置系统时间的方法,供大家参考,具体内容如下 第一种方法,使用python […]

Continue reading
Posted in 未分类 · Leave a comment

python利用datetime模块计算时间差

27 4月01 1月 by test4807991

今天写了点东西,要计算时间差,我记得去年写过,于是今天再次mark一下,以免自己忘记 in [27]: fro […]

Continue reading
Posted in 未分类 · Leave a comment

python安装以及ide的配置教程

26 4月01 1月 by test4807991

一、初识python   python官方网站:www.python.org   版本:python-3.4. […]

Continue reading
Posted in 未分类 · Leave a comment

python2.x和3.x下maketrans与translate函数使用上的不同

26 4月01 1月 by test30307667

maketrans和translate函数是进行字符串字符编码的常用方法。本文着重点在于演示其基本用法和在不同 […]

Continue reading
Posted in 未分类 · Leave a comment

用python能实现python解释器吗?

26 4月01 1月 by test16134286

回复内容: 用python实现的python解释器,最出名并且完成度最高的当pypy莫属。不过如果是想用pyt […]

Continue reading
Posted in 未分类 · Leave a comment

打印出python当前全局变量和入口参数的所有属性

26 4月01 1月 by test30307667

def cndebug(obj=false): “”” author : […]

Continue reading
Posted in 未分类 · Leave a comment

在python中用has

26 4月01 1月 by test4807991

如果给定的键在字典可用,has_key()方法返回true,否则返回false。 语法 以下是has_key( […]

Continue reading
Posted in 未分类 · Leave a comment

python常用的爬虫技巧总结

26 4月01 1月 by test16134286

用python也差不多一年多了,python应用最多的场景还是web快速开发、爬虫、自动化运维:写过简单网站、 […]

Continue reading
Posted in 未分类 · Leave a comment

python爬虫如何获取js生成的url和网页内容?

26 4月01 1月 by test16134286

想尝试爬下北邮人的论坛,但是看到页面的源代码都是js,几乎没有我想要的信息。回复内容: 今天偶然发现了pyv8 […]

Continue reading
Posted in 未分类 · Leave a comment

python中super的用法实例

26 4月01 1月 by test30307667

super 是用来解决多重继承问题的,直接用类名调用父类方法在使用单继承的时候没问题,但是如果使用多继承,会涉 […]

Continue reading
Posted in 未分类 · Leave a comment

让pythonjsonencodedatetime类型

26 4月01 1月 by test30307667

实现代码如下: 代码如下: import json from datetime import date, da […]

Continue reading
Posted in 未分类 · Leave a comment

python删除列表中重复记录的方法

26 4月01 1月 by test30307667

本文实例讲述了python删除列表中重复记录的方法。分享给大家供大家参考。具体实现方法如下: def remo […]

Continue reading
Posted in 未分类 · Leave a comment

python的keyword模块用法实例分析

25 4月01 1月 by test30307667

本文实例讲述了python的keyword模块用法。分享给大家供大家参考。具体如下: help on modu […]

Continue reading
Posted in 未分类 · Leave a comment

python实现归并排序算法

25 4月01 1月 by test30307667

理论不多说: 代码如下: #!/usr/bin/python import sys def merge(arr […]

Continue reading
Posted in 未分类 · Leave a comment

在python中操作文件之truncate()方法的使用教程

25 4月01 1月 by test30307667

truncate()方法截断该文件的大小。如果可选的尺寸参数存在,该文件被截断(最多)的大小。 大小默认为当前 […]

Continue reading
Posted in 未分类 · Leave a comment

简单介绍python的django框架的dj

25 4月01 1月 by test30307667

由于django没有象rails一样指定项目的目录结构规范,很多人都对django项目的目录结构要如何组织而感 […]

Continue reading
Posted in 未分类 · Leave a comment

python列出目录下指定文件与子目录的方法

25 4月01 1月 by test4807991

本文实例讲述了python列出目录下指定文件与子目录的方法。分享给大家供大家参考。具体实现方法如下: # if […]

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