Skip to content
  • About Me

charlie笔记

A programmer’s note boke for work and life

使用python编写linux系统守护进程实例

10 9月01 1月 by test30307667

守护进程(daemon)是指在unix或其他多任务操作系统中在后台执行的电脑程序,并不会接受电脑用户的直接操控 […]

Continue reading
Posted in 未分类 · Leave a comment

python的内存管理机制是什么?

10 9月01 1月 by test16134286

回复内容: 题主需要来本《python源码剖析》里面的讲解保证让题主满意。从最表面看,python(cpyth […]

Continue reading
Posted in 未分类 · Leave a comment

python中zip和unzip数据的方法

10 9月01 1月 by test30307667

本文实例讲述了python zip和unzip数据的方法。分享给大家供大家参考。具体实现方法如下: # zip […]

Continue reading
Posted in 未分类 · Leave a comment

如何用python中的nltk对中文进行分析和处理?

10 9月01 1月 by test16134286

用nltk对自己的日记进行分析。得到以下结果(节选)’\xb8\xb0′, &#821 […]

Continue reading
Posted in 未分类 · Leave a comment

python在windows下实现ping操作并接收返回信息的方法

09 9月01 1月 by test30307667

本文实例讲述了python在windows下实现ping操作并接收返回信息的方法。分享给大家供大家参考。具体分 […]

Continue reading
Posted in 未分类 · Leave a comment

python文件操作之目录遍历实例分析

09 9月01 1月 by test4807991

本文实例讲述了python文件操作之目录遍历的方法。分享给大家供大家参考。具体分析如下: python的os模 […]

Continue reading
Posted in 未分类 · Leave a comment

python的自动化部署模块fabric的安装及使用指南

09 9月01 1月 by test4807991

fabric是python2.5或者更高的库,可以通过ssh在多个host上批量执行任务.完成系统管理任务.它 […]

Continue reading
Posted in 未分类 · Leave a comment

在python的循环体中使用else语句的方法

09 9月01 1月 by test30307667

本文讨论python的for…else和while…else语法,这是python中最不常用、最为误解的语法特 […]

Continue reading
Posted in 未分类 · Leave a comment

通过代码实例展示python中列表生成式的用法

09 9月01 1月 by test30307667

1 平方列表 如果你想创建一个包含1到10的平方的列表,你可以这样做: squares = [] for x […]

Continue reading
Posted in 未分类 · Leave a comment

python下载指定页面上图片的方法

09 9月01 1月 by test16134286

本文实例讲述了python下载指定页面上图片的方法。分享给大家供大家参考,具体如下: #!/usr/bin/p […]

Continue reading
Posted in 未分类 · Leave a comment

python时间戳与时间字符串互相转换实例代码

09 9月01 1月 by test30307667

代码如下: #设a为字符串import timea = “2011-09-28 10:00:00& […]

Continue reading
Posted in 未分类 · Leave a comment

python实现的二维码生成小软件

09 9月01 1月 by test16134286

前几天,我估摸着做一个能生成qr code小程序,并能用wxpython在屏幕上显示出来。当然,我想用纯pyt […]

Continue reading
Posted in 未分类 · Leave a comment

python通过get,post方式发送http请求和接收http响应的方法

09 9月01 1月 by test30307667

本文实例讲述了python通过get,post方式发送http请求和接收http响应的方法。分享给大家供大家参 […]

Continue reading
Posted in 未分类 · Leave a comment

跟老齐学python之赋值,简单也不简单

09 9月01 1月 by test16134286

变量命名 在《初识永远强大的函数》一文中,有一节专门讨论“取名字的学问”,就是有关变量名称的问题,本温故而知新 […]

Continue reading
Posted in 未分类 · Leave a comment

python基于smtplib实现异步发送邮件服务

09 9月01 1月 by test30307667

基于smtplib包制作而成,但在实践中发现一个不知道算不算是smtplib留的一个坑,在网络断开的情况下发送 […]

Continue reading
Posted in 未分类 · Leave a comment

使用python编写爬虫的基本模块及框架使用指南

08 9月01 1月 by test4807991

基本模块 python爬虫,web spider。爬取网站获取网页数据,并进行分析提取。 基本模块使用的是 u […]

Continue reading
Posted in 未分类 · Leave a comment

python哪些可以代替递归的算法?

08 9月01 1月 by test16134286

回复内容: 所有的递归调用,都可以做cps变换改写成尾递归形式,然后尾递归可以改写成循环: def fact( […]

Continue reading
Posted in 未分类 · Leave a comment

python动态网页批量爬取

08 9月01 1月 by test4807991

四六级成绩查询网站我所知道的有两个:学信网(http://www.chsi.com.cn/cet/)和99宿舍 […]

Continue reading
Posted in 未分类 · Leave a comment

python实现二分法算法实例

08 9月01 1月 by test30307667

1.算法:(设查找的数组期间为array[low, high]) (1)确定该期间的中间位置k (2)将查找的 […]

Continue reading
Posted in 未分类 · Leave a comment

pythondel()函数用法

08 9月01 1月 by test30307667

示例程序如下: >>> a = [-1, 3, ‘aa’, 85] # 定义一个lis […]

Continue reading
Posted in 未分类 · Leave a comment

最好的python入门教材是哪本?

08 9月01 1月 by test16134286

目前接触过两本,一本是hetland的python基础教程,一本是python for kids。回复内容: […]

Continue reading
Posted in 未分类 · Leave a comment

python开发编码规范

08 9月01 1月 by test30307667

这篇文档所给出的编码约定适用于在主要的python发布版本中组成标准库的python 代码,请查阅相关的关于在 […]

Continue reading
Posted in 未分类 · Leave a comment

python获取央视节目单的实现代码

08 9月01 1月 by test4807991

本文实例讲述了python获取央视节目单的方法。分享给大家供大家参考。具体如下: #! /usr/bin/py […]

Continue reading
Posted in 未分类 · Leave a comment

python函数缺省值与引用学习笔记分享

08 9月01 1月 by test30307667

代码如下: import random, stringclass c(object): passdef dan […]

Continue reading
Posted in 未分类 · Leave a comment

哪些语言特征使得python脚本可以如此短小?

08 9月01 1月 by test16134286

原来很少用 python,现在用得越来越多,发现了很多 python 让我惊喜的地方,其中之一就是脚本短小精悍 […]

Continue reading
Posted in 未分类 · Leave a comment

python在不用框架的情况下如何写网站后台?

07 9月01 1月 by test16134286

python在不用框架的情况下如何写网站后台回复内容: python标准库中的basehttpserver适合 […]

Continue reading
Posted in 未分类 · Leave a comment

python使用xlrd模块操作excel数据导入的方法

07 9月01 1月 by test30307667

本文实例讲述了python使用xlrd模块操作excel数据导入的方法。分享给大家供大家参考。具体分析如下: […]

Continue reading
Posted in 未分类 · Leave a comment

windows上配置emacs来开发python及用python扩展emacs

07 9月01 1月 by test4807991

windows下配置emacs来开发python 去年在网上偶然的一个机会知道了emacs的存在,在周围前辈们 […]

Continue reading
Posted in 未分类 · Leave a comment

python动态加载模块的3种方法

07 9月01 1月 by test30307667

1、使用系统函数__import_() 代码如下: stringmodule = __import__(&#8 […]

Continue reading
Posted in 未分类 · Leave a comment

python中的字典详细介绍

07 9月01 1月 by test16134286

一、什么是字典? 字典是python语言中唯一的映射类型。 映射类型对象里哈希值(键,key)和指向的对象(值 […]

Continue reading
Posted in 未分类 · Leave a comment

文章导航

Previous 1 … 105 106 107 108 109 110 111 112 113 114 115 … 260 Next

近期文章

  • 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笔记 ·
程序猿 散文朗诵 鬼故事 佛学网