Skip to content
  • About Me

charlie笔记

A programmer’s note boke for work and life

作者:test16604225

使用python性能优化技巧的总结

10 2月01 1月 by test16604225

选择了脚本语言就要忍受其速度,这句话在某种程度上说明了 python 作为脚本的一个不足之处,那就是执行效率和 […]

Continue reading
Posted in 未分类 · Leave a comment

详解zabbix3.0.2使用外部python脚本实现邮件报警方法

10 2月01 1月 by test16604225

1,找到默认存放脚本的路径(我是在默认路径下面放着,如果想换别的路径,修改zabbix_server.conf […]

Continue reading
Posted in 未分类 · Leave a comment

zabbixpython邮件脚本代码

10 2月01 1月 by test16604225

这篇文章介绍zabbix python邮件脚本代码 #!/usr/bin/env python # -*- c […]

Continue reading
Posted in 未分类 · Leave a comment

详解python自定义进程名

10 2月01 1月 by test16604225

般情况下,我们直接启动#wiki/1514.html” target=”_blank& […]

Continue reading
Posted in 未分类 · Leave a comment

python协程、io多路复用的方法

10 2月01 1月 by test16604225

协程 是一种用户态的请链接线程微线程 好处 无需线程上下文切换的开销 无需原子操作锁定及同步的开销 方便切换控 […]

Continue reading
Posted in 未分类 · Leave a comment

python的unittest并拓展htmltestrunner详细说明

10 2月01 1月 by test16604225

unnitest是#wiki/1514.html” target=”_blank&#8 […]

Continue reading
Posted in 未分类 · Leave a comment

python3ordereddict类(有序字典)使用方法

10 2月01 1月 by test16604225

创建有序字典 import collections dic = collections.ordereddict […]

Continue reading
Posted in 未分类 · Leave a comment

python字符串连接的五种方法介绍

10 2月01 1月 by test16604225

python中有很多字符串连接方式,今天在写代码,顺便总结一下,从最原始的字符串连接方式到字符串列表连接,大家 […]

Continue reading
Posted in 未分类 · Leave a comment

python3deque(双向队列)的详细介绍

10 2月01 1月 by test16604225

创建双向队列 import collections d = collections.deque() appen […]

Continue reading
Posted in 未分类 · Leave a comment

图文详解python异常处理方法

10 2月01 1月 by test16604225

python提供了两个非常重要的功能来处理python程序在运行中出现的异常和错误。你可以使用该功能来调试py […]

Continue reading
Posted in 未分类 · Leave a comment

python3queue(单向队列)的详细介绍

10 2月01 1月 by test16604225

创建队列 import queue q = queue.queue() empty(如果队列为空,返回true […]

Continue reading
Posted in 未分类 · Leave a comment

python变量命名的详细介绍

10 2月01 1月 by test16604225

  目前开发命名规范基本都遵循驼峰命名法,如:username。我也不将这个规范的特性了,大家都明白。接下来进 […]

Continue reading
Posted in 未分类 · Leave a comment

python包管理器pip的安装和使用

10 2月01 1月 by test16604225

缘起 这段时间忙着给朋友搞事,忙了好长一段时间,木有写博客很长时间了。之间做了两个东西,一个是邮件自动发送脚本 […]

Continue reading
Posted in 未分类 · Leave a comment

详解python函数的使用

10 2月01 1月 by test16604225

1.函数的基本定义 def 函数名称(参数) 执行语 return 返回值 def : 定义函数的关键字; 函 […]

Continue reading
Posted in 未分类 · Leave a comment

详解python执行shell命令的三种方法

10 2月01 1月 by test16604225

最近有个需求就是页面上执行shell命令, 第一种 就是os.system, 代码如下: os.system( […]

Continue reading
Posted in 未分类 · Leave a comment

python使用nmap端口扫描的两种方法

10 2月01 1月 by test16604225

第一版:只支持以逗号分隔的端口,不支持端口范围 firstly: sudo apt-get install n […]

Continue reading
Posted in 未分类 · Leave a comment

pythonorm框架sqlalchemy简单应用(数据库操作)的实例代码

10 2月01 1月 by test16604225

这篇文章详解python orm框架sqlalchemy简单应用(数据库操作)的实例代码 #_*_coding […]

Continue reading
Posted in 未分类 · Leave a comment

详解python日历模块的使用

10 2月01 1月 by test16604225

calendar模块的函数都是日历相关的,提供了对日期的一些操作方法,和生成日历的方法. calendar模块 […]

Continue reading
Posted in 未分类 · Leave a comment

使用python开发利器ulipad实践步骤

10 2月01 1月 by test16604225

介绍 ulipad是一个国人开发的python轻量级编辑器,导向和灵活的编程器。它如类浏览器,代码自动完成许多 […]

Continue reading
Posted in 未分类 · Leave a comment

使用python中mvc设计模式的介绍

10 2月01 1月 by test16604225

一、代码组织(目录结构) 二、mvc概述 mvc设计模式即mvc框架。 mvc全名是model view co […]

Continue reading
Posted in 未分类 · Leave a comment

使用python编写登录接口方法

10 2月01 1月 by test16604225

python编写登录接口 一、需求 编写登录接口: 1.输入用户名和密码登录 2.输错三次锁定账户 3.下次登 […]

Continue reading
Posted in 未分类 · Leave a comment

使用python爬虫模拟12306登录方法

10 2月01 1月 by test16604225

试了好久登录的时候总是显示:系统忙,请刷新,,,太折磨人了,搞了半天才想到是请求头部的问题….. […]

Continue reading
Posted in 未分类 · Leave a comment

使用python连接mongodb并操作的方法

10 2月01 1月 by test16604225

安装python连接mongodb的库文件pymongo pip install pymongo python […]

Continue reading
Posted in 未分类 · Leave a comment

使用python监控mysql的主从复制的方法

10 2月01 1月 by test16604225

利用python来检查mysql的主从复制, 有一个注意点是,cur.execute(“show […]

Continue reading
Posted in 未分类 · Leave a comment

python中的lambda表达式的基本使用方法介绍

10 2月01 1月 by test16604225

这篇文章详解python中的lambda表达式的基本使用方法介绍 lambda表达式,也叫匿名函数,是普通函数 […]

Continue reading
Posted in 未分类 · Leave a comment

使用python随机生成6位密码实例代码

10 2月01 1月 by test16604225

这篇文章详解使用python随机生成6位密码实例代码 #!/usr/bin/env python # -*- […]

Continue reading
Posted in 未分类 · Leave a comment

使用python开发工具pycharm个性化设置的方法

10 2月01 1月 by test16604225

python开发工具pycharm个性化设置,包括设置默认pycharm解析器、设置缩进符为制表符、设置ide […]

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有五大数据类型,分别是:使用type内置函数可以查看数据类型 1:str(字符串) 2:int(整 […]

Continue reading
Posted in 未分类 · Leave a comment

用python字典打印出来一段用户信息的方法

10 2月01 1月 by test16604225

这篇文章介绍 用python字典打印出来一段用户信息的方法 #log 文件内容 alex#123#1 eric […]

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