Skip to content
  • About Me

charlie笔记

A programmer’s note boke for work and life

月份:2016年6月

python下redis安装和使用

20 6月01 1月 by test31297505

python下redis安装用python操作redis数据库,先下载redis-py模块下载地址https: […]

Continue reading
Posted in 未分类 · Leave a comment

python下的socket编程

20 6月01 1月 by test31297505

首先需要说明的一点是:这里并不会记录很深奥的socket编程,只是会分析一个最简单的socket编程聊天室下的 […]

Continue reading
Posted in 未分类 · Leave a comment

python在互联网应用是如此强大

20 6月01 1月 by test31297505

我最近读到一遍文章其主要关注点是在python社区,讲的是为什么python应用如此丑陋? 尽管某些情况下他的 […]

Continue reading
Posted in 未分类 · Leave a comment

pythonisinstance判断各种类型的小细节

20 6月01 1月 by test31297505

1. 基本语法 isinstance(object, classinfo) return true if th […]

Continue reading
Posted in 未分类 · Leave a comment

python进阶01词典

20 6月01 1月 by test31297505

基础教程介绍了基本概念,特别是对象和类。 进阶教程对基础教程的进一步拓展,说明python的细节。希望在进阶教 […]

Continue reading
Posted in 未分类 · Leave a comment

pythonstruct(字节流,组包拆包实现)模块详解

20 6月01 1月 by test31297505

看到struct这么英文单词,大家应该并不陌生,因为c/c++中就有struct,在那里struct叫做结构体 […]

Continue reading
Posted in 未分类 · Leave a comment

python常用函数及说明

20 6月01 1月 by test31297505

基本定制型 c.__init__(self[, arg1, …]) 构造器(带一些可选的参数) c […]

Continue reading
Posted in 未分类 · Leave a comment

pythonurlencode编码和url拼接

20 6月01 1月 by test31297505

urlencode 调用方法 urlencode的参数必须是dictionary import urllib […]

Continue reading
Posted in 未分类 · Leave a comment

python

20 6月01 1月 by test31297505

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

Continue reading
Posted in 未分类 · Leave a comment

python基础教程

20 6月01 1月 by test31297505

函数最重要的目的是方便我们重复使用相同的一段程序。 将一些操作隶属于一个函数,以后你想实现相同的操作的时候,只 […]

Continue reading
Posted in 未分类 · Leave a comment

python基础教程

20 6月01 1月 by test31297505

循环用于重复执行一些程序块。从上一讲的选择结构,我们已经看到了如何用缩进来表示程序块的隶属关系。循环也会用到类 […]

Continue reading
Posted in 未分类 · Leave a comment

python基础教程

20 6月01 1月 by test31297505

缩进 python最具特色的是用缩进来标明成块的代码。我下面以if选择结构来举例。if后面跟随条件,如果条件成 […]

Continue reading
Posted in 未分类 · Leave a comment

python基础教程运算

20 6月01 1月 by test31297505

python的运算符和其他语言类似 (我们暂时只了解这些运算符的基本用法,方便我们展开后面的内容,高级应用暂时 […]

Continue reading
Posted in 未分类 · Leave a comment

pythonlist排序的两种方法及实例讲解

20 6月01 1月 by test31297505

对list进行排序,python提供了两个方法 方法1.用list的内建函数list.sort进行排序 lis […]

Continue reading
Posted in 未分类 · Leave a comment

python

20 6月01 1月 by test31297505

简单的数据类型以及赋值 变量不需要声明 python的变量不需要声明,你可以直接输入: >>>a = 10 那 […]

Continue reading
Posted in 未分类 · Leave a comment

用python读取excel中的数据

20 6月01 1月 by test31297505

python中要想处理excel,必须用到第三方模块xlrd,所以windows 我安装方法是cmd中命令:e […]

Continue reading
Posted in 未分类 · Leave a comment

你可能不知道的30个python语言的特点技巧

20 6月01 1月 by test31297505

从我开始学习python时我就决定维护一个经常使用的“窍门”列表。不论何时当我看到一段让我觉得“酷,这样也行! […]

Continue reading
Posted in 未分类 · Leave a comment

python多线程之thread

20 6月01 1月 by test31297505

python 多线程之thread #! /usr/bin/env python # -*- coding:u […]

Continue reading
Posted in 未分类 · Leave a comment

python字符编码转换秘诀

20 6月01 1月 by test31297505

python 有str object 和 unicode object 两种字符串, 都可以存放字符的字节编码 […]

Continue reading
Posted in 未分类 · Leave a comment

centos下如何正确升级python

20 6月01 1月 by test31297505

在centos上搭建测试环境时候,遇到需要升级python版本的情况,于是就记录了整个升级的过程: 在cent […]

Continue reading
Posted in 未分类 · Leave a comment

python信号量

20 6月01 1月 by test31297505

信号的概念 信号(signal)– 进程之间通讯的方式,是一种软件中断。一个进程一旦接收到信号就会 […]

Continue reading
Posted in 未分类 · Leave a comment

python

20 6月01 1月 by test31297505

yield 简单说来就是一个生成器,生成器是这样一个函数,它记住上一次返回时在函数体中的位置。对生成器函数的第 […]

Continue reading
Posted in 未分类 · Leave a comment

python处理抓取中文编码和判断编码

20 6月01 1月 by test31297505

在开发自用爬虫过程中,有的网页是utf-8,有的是gb2312,有的是gbk,如果不加处理,采集到的都是乱码, […]

Continue reading
Posted in 未分类 · Leave a comment

python中的转义字符

20 6月01 1月 by test31297505

escape what it does. 含义 \\ backslash () 反斜杠 \’ si […]

Continue reading
Posted in 未分类 · Leave a comment

python

20 6月01 1月 by test31297505

缩进 python最具特色的就是用缩进来写模块。我们下面以if选择结构来举例。if后面跟随条件,如果条件成立, […]

Continue reading
Posted in 未分类 · Leave a comment

python操作列表的常用方法总结

20 6月01 1月 by test31297505

下面列出列表常用的方法操作列表以及小例子: 1. append 在列表末尾添加元素,需在列表末尾添加元素,需要 […]

Continue reading
Posted in 未分类 · Leave a comment

python下redis的使用

20 6月01 1月 by test31297505

用python操作redis数据库,先下载redis-py模块下载地址https://github.com/a […]

Continue reading
Posted in 未分类 · Leave a comment

详解python的函数嵌套

20 6月01 1月 by test31297505

python语言允许在定义函数的时候,其函数体内又包含另外一个函数的完整定义,这就是我们通常所说的嵌套定义。 […]

Continue reading
Posted in 未分类 · Leave a comment

python忽略warning警告错误

20 6月01 1月 by test31297505

python开发中经常遇到报错的情况,但是warning通常并不影响程序的运行,而且有时特别讨厌,下面我们来说 […]

Continue reading
Posted in 未分类 · Leave a comment

python下载文件的三种方法

20 6月01 1月 by test31297505

python开发中时长遇到要下载文件的情况,最常用的方法就是通过http利用urllib或者urllib2模块 […]

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