Skip to content
  • About Me

charlie笔记

A programmer’s note boke for work and life

作者:test16604225

必看的的30个python语言的特点技巧(2)

10 2月01 1月 by test16604225

从我开始学习#wiki/1514.html” target=”_blank&#8221 […]

Continue reading
Posted in 未分类 · Leave a comment

必看的的30个python语言的特点技巧(3)

10 2月01 1月 by test16604225

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

Continue reading
Posted in 未分类 · Leave a comment

使用python读取excel中的数据方法

10 2月01 1月 by test16604225

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

Continue reading
Posted in 未分类 · Leave a comment

关于python的基本数据类型介绍

10 2月01 1月 by test16604225

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

Continue reading
Posted in 未分类 · Leave a comment

详解pythonlist排序的两种实例方法

10 2月01 1月 by test16604225

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

Continue reading
Posted in 未分类 · Leave a comment

关于python基础序列(sequence)的详解

10 2月01 1月 by test16604225

sequence 序列 sequence(序列)是一组有顺序的元素的集合 (严格的说,是对象的集合,但鉴于我们 […]

Continue reading
Posted in 未分类 · Leave a comment

关于python基础运算介绍

10 2月01 1月 by test16604225

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

Continue reading
Posted in 未分类 · Leave a comment

关于python基础缩进和选择的介绍

10 2月01 1月 by test16604225

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

Continue reading
Posted in 未分类 · Leave a comment

关于python基础循环介绍

10 2月01 1月 by test16604225

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

Continue reading
Posted in 未分类 · Leave a comment

关于python基础函数的介绍

10 2月01 1月 by test16604225

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

Continue reading
Posted in 未分类 · Leave a comment

python面向对象的基本概念介绍

10 2月01 1月 by test16604225

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

Continue reading
Posted in 未分类 · Leave a comment

详解pythonurlencode编码和url拼接方法

10 2月01 1月 by test16604225

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

Continue reading
Posted in 未分类 · Leave a comment

使用python常用函数说明

10 2月01 1月 by test16604225

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

Continue reading
Posted in 未分类 · Leave a comment

关于pythonstruct字节流,组包拆包实现模块详细说明

10 2月01 1月 by test16604225

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

Continue reading
Posted in 未分类 · Leave a comment

分享python3连接sqlite实例代码

10 2月01 1月 by test16604225

python3 连接sqlite实例,直接上代码吧 import sqlite3 db = r”d […]

Continue reading
Posted in 未分类 · Leave a comment

python的包管理工具详细介绍

10 2月01 1月 by test16604225

刚开始学习python时,在看文档和别人的blog介绍安装包有的用easy_install, setuptoo […]

Continue reading
Posted in 未分类 · Leave a comment

详解python中的五种异常处理机制方法

10 2月01 1月 by test16604225

从几年前开始学习编程直到现在,一直对程序中的异常处理怀有恐惧和排斥心理。之所以这样,是因为不了解。这次攻pyt […]

Continue reading
Posted in 未分类 · Leave a comment

详解python中的类型转换方法

10 2月01 1月 by test16604225

int(x [,base ]) 将x转换为一个整数 long(x [,base ]) 将x转换为一个长整数 f […]

Continue reading
Posted in 未分类 · Leave a comment

初学者必看的python技巧

10 2月01 1月 by test16604225

以下是我近些年收集的一些python实用技巧和工具,希望能对你有所帮助。 交换变量x = 6 y = 5 x, […]

Continue reading
Posted in 未分类 · Leave a comment

使用python时间处理方法

10 2月01 1月 by test16604225

在实际中遇到一个时间处理问题,需要将 sep 06, 2014 19:30 (utc 时间) 和 当前时间比较 […]

Continue reading
Posted in 未分类 · Leave a comment

使用python中单引号,双引号,多引号区别详细说明

10 2月01 1月 by test16604225

先说1双引号与3个双引号的区别,双引号所表示的字符串通常要写成一行 如: s1 = “hello, […]

Continue reading
Posted in 未分类 · Leave a comment

关于python文件处理介绍

10 2月01 1月 by test16604225

相关的api: 文件夹: 得到当前工作目录,即当前python脚本工作的目录路径: os.getcwd() 返 […]

Continue reading
Posted in 未分类 · Leave a comment

使用pythonselenium爬取内容并存储mysql数据库的实例图解

10 2月01 1月 by test16604225

这篇文章主要介绍了python selenium爬取内容并存储至mysql数据库的实现代码,需要的朋友可以参考 […]

Continue reading
Posted in 未分类 · Leave a comment

使用python实现树莓派wifi断线自动重连实例(附代码)

10 2月01 1月 by test16604225

实现 wifi 断线自动重连,原理是用 python 监测网络是否断线,如果断线则重启网络服务。接下来给大家分 […]

Continue reading
Posted in 未分类 · Leave a comment

python学习之mysql数据库编程基础知识介绍

10 2月01 1月 by test16604225

在python网络爬虫中,通常是通过txt纯文本方式存储,其实也是可以存储在数据库中的;同时在wamp(win […]

Continue reading
Posted in 未分类 · Leave a comment

python函数的基础知识

10 2月01 1月 by test16604225

本文从系统提供的内部函数、第三方提供函数库+简单爬出代码及安装httplib2模块过程和用户自定函数三个方面进 […]

Continue reading
Posted in 未分类 · Leave a comment

python随机数与随机字符串详细说明

10 2月01 1月 by test16604225

随机整数: >>> import random >>> random.randint(0,99) 21 随机选 […]

Continue reading
Posted in 未分类 · Leave a comment

详解python3使用pymysql连接mysql数据库步骤

10 2月01 1月 by test16604225

python语言的3.x完全不向前兼容,导致我们在python2.x中可以正常使用的库,到了python3就用 […]

Continue reading
Posted in 未分类 · Leave a comment

详解python新式类和旧式类区别

10 2月01 1月 by test16604225

python的新式类是2.2版本引进来的,我们可以将之前的类叫做经典类或者旧式类。 为什么要在2.2中引进ne […]

Continue reading
Posted in 未分类 · Leave a comment

使用python随机生成验证码的两种方法

10 2月01 1月 by test16604225

python随机生成验证码的方法有很多,今天给大家列举两种,大家也可以在这个基础上进行改造,设计出适合自己的验 […]

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