Skip to content
  • About Me

charlie笔记

A programmer’s note boke for work and life

作者:test16604225

python内置函数的详细介绍

10 2月01 1月 by test16604225

总结一下内置函数,build-in function。 一、数学运算类 abs(x) 求绝对值 complex […]

Continue reading
Posted in 未分类 · Leave a comment

python内置input函数的详细介绍

10 2月01 1月 by test16604225

英文文档: input([prompt]) if the prompt argument is present […]

Continue reading
Posted in 未分类 · Leave a comment

python魔术方法magicmethod的详细介绍

10 2月01 1月 by test16604225

介绍   在python中,所有以“”双下划线包起来的方法,都统称为“magic method”,例如类的初始 […]

Continue reading
Posted in 未分类 · Leave a comment

python学习基础基本数据类型介绍

10 2月01 1月 by test16604225

一、 运算符 1、算数运算: ps: 示例1: python2.7示例 #!/usr/bin/env pyth […]

Continue reading
Posted in 未分类 · Leave a comment

使用python获取当前日期的格式介绍

10 2月01 1月 by test16604225

在python里如何获取当前的日期和时间呢?在python语言里,我们可以通过调用什么模块或者类函数来得到当前 […]

Continue reading
Posted in 未分类 · Leave a comment

详解python的http代理

10 2月01 1月 by test16604225

0x00 前言 大家对http代理应该都非常熟悉,它在很多方面都有着极为广泛的应用。http代理分为正向代理和 […]

Continue reading
Posted in 未分类 · Leave a comment

python基础循环的学习记录

10 2月01 1月 by test16604225

一、while循环 如果条件成立(true),重复执行相同操作,条件不符合,跳出循环   while 循环条件 […]

Continue reading
Posted in 未分类 · Leave a comment

python格式化字符串的使用方法

10 2月01 1月 by test16604225

一、格式化字符功能介绍   应用场景:一般在print的时候提供占位符;python中提供两种格式化字符串方式 […]

Continue reading
Posted in 未分类 · Leave a comment

python内置int函数详细介绍

10 2月01 1月 by test16604225

英文文档: class int(x=0) class int(x, base=10) return an in […]

Continue reading
Posted in 未分类 · Leave a comment

python内置isinstance函数详细介绍

10 2月01 1月 by test16604225

英文文档: isinstance(object, classinfo) return true if the […]

Continue reading
Posted in 未分类 · Leave a comment

python内置issubclass函数的详细介绍

10 2月01 1月 by test16604225

英文文档: issubclass(class, classinfo) return true if class […]

Continue reading
Posted in 未分类 · Leave a comment

python内置iter函数详细介绍

10 2月01 1月 by test16604225

英文文档: iter(object[, sentinel]) return an iterator objec […]

Continue reading
Posted in 未分类 · Leave a comment

python标准库学习re模块的详细介绍

10 2月01 1月 by test16604225

  re模块提供了一系列功能强大的正则表达式(regular expression)工具,它们允许你快速检查给 […]

Continue reading
Posted in 未分类 · Leave a comment

pythonrsa加密解密和base64编解码介绍

10 2月01 1月 by test16604225

  最近有需求,需要研究一下rsa加密解密安全;在网上百度了一下例子文章,很少有文章介绍怎么保存、传输、打印加 […]

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

贴一个做数据清洗时写的代码, 做数据处理时,原文件数据在进行处理时需要转换成一定格式, 原始文件数据:123. […]

Continue reading
Posted in 未分类 · Leave a comment

详解python日志打印和写入并发实现代码

10 2月01 1月 by test16604225

大家一般都用logging日志打印,但logging是线程安全的,多进程也有很多介绍,引入一些文件锁,对log […]

Continue reading
Posted in 未分类 · Leave a comment

使用python实现时间时分秒与秒数的互相转换方法

10 2月01 1月 by test16604225

受到unix时间戳的启发,我发现时间转成秒数后会非常好处理,在程序当中不再是以字符串的形式处理,不管时间的加减 […]

Continue reading
Posted in 未分类 · Leave a comment

使用python实现wc命令程序的功能的实例代码

10 2月01 1月 by test16604225

这里使用了 python 的基本代码实现了 linux 系统下 wc 命令程序的基本功能。 #!/usr/bi […]

Continue reading
Posted in 未分类 · Leave a comment

python获取指定时间段内的随机不重复时间点的实现代码

10 2月01 1月 by test16604225

这篇文章介绍python获取指定时间段内的随机不重复时间点的实现代码 场景1:取n个07:30:00-09:3 […]

Continue reading
Posted in 未分类 · Leave a comment

使用python网页文档处理脚本实例代码

10 2月01 1月 by test16604225

  嵌入式web服务器不同于传统服务器,web需要转换成数组格式保存在flash中,才方便lwip网络接口的调 […]

Continue reading
Posted in 未分类 · Leave a comment

详解python中threadpool线程池任务终止示例代码

10 2月01 1月 by test16604225

需求 加入我们需要处理一串个位数(0~9),奇数时需要循环打印它;偶数则等待对应时长并完成所有任务;0则是错误 […]

Continue reading
Posted in 未分类 · Leave a comment

使用python包含汉字的文件读写末尾加上特定字符方法介绍

10 2月01 1月 by test16604225

在数据挖掘中,原始文件的格式往往是令人抓狂,很重要的一步是对数据文件的格式进行整理。 最近,接手的项目里,提供 […]

Continue reading
Posted in 未分类 · Leave a comment

python学习enumerate实践用法介绍

10 2月01 1月 by test16604225

a new built-in function, enumerate() , will make certai […]

Continue reading
Posted in 未分类 · Leave a comment

利用python中socketserver实现客户端与服务器间非阻塞通信方法介绍

10 2月01 1月 by test16604225

利用socketserver模块来实现网络客户端与服务器并发连接非阻塞通信 首先,先了解下socketserv […]

Continue reading
Posted in 未分类 · Leave a comment

图文介绍python开发环境搭建步骤

10 2月01 1月 by test16604225

  虽然网上有很多python开发环境搭建的文章,不过重复造轮子还是要的,记录一下过程,方便自己以后配置,也方 […]

Continue reading
Posted in 未分类 · Leave a comment

关于python的object和type详细介绍

10 2月01 1月 by test16604225

1、节选自python documentation 3.5.2的部分解释 objects are python […]

Continue reading
Posted in 未分类 · Leave a comment

使用python实现简单的猜数字游戏示例代码

10 2月01 1月 by test16604225

python实现简单的猜数字游戏,具体如下: 随机生成一个1-10之间的数字,让用户来猜,当猜错时,会提示猜的 […]

Continue reading
Posted in 未分类 · Leave a comment

详解pythonoptionparser模块使用方法

10 2月01 1月 by test16604225

optionparser是python中用来处理命令行的模块,在我们使用python进行流程化开发中必要的工具 […]

Continue reading
Posted in 未分类 · Leave a comment

使用python实现发送邮件方法

10 2月01 1月 by test16604225

这篇文章介绍使用python实现发送邮件方法 # coding=utf-8import smtplib fro […]

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