Skip to content
  • About Me

charlie笔记

A programmer’s note boke for work and life

作者:test16134286

python对两个有序列表进行合并和排序的例子

14 5月01 1月 by test16134286

假设有2个有序列表l1、l2,如何效率比较高的将2个list合并并保持有序状态,这里默认排序是正序。 思路是比 […]

Continue reading
Posted in 未分类 · Leave a comment

python网络编程之udp通信实例(含服务器端、客户端、udp广播例子)

14 5月01 1月 by test16134286

udp广泛应用于需要相互传输数据的网络应用中,如qq使用的就是udp协议。在网络质量不好的情况下,使用udp协 […]

Continue reading
Posted in 未分类 · Leave a comment

为什么在美国的cs编程入门课大多有java和python。而在国内首先学习的语言是c/c++?

13 5月01 1月 by test16134286

回复内容: 因为翻译过来的公开课里面就只有java和python。 无论国外情况怎么样,c/c++入门真的很不 […]

Continue reading
Posted in 未分类 · Leave a comment

python中私有函数调用方法解密

13 5月01 1月 by test16134286

本文实例讲述了python中私有函数调用方法。分享给大家供大家参考,具体如下: 与大多数语言一样,python […]

Continue reading
Posted in 未分类 · Leave a comment

python里没有接口,如何写设计模式?

13 5月01 1月 by test16134286

最近在学设计模式,正在看《大话设计模式》和《深入浅出设计模式》(就是head first那本)一本用的是c#, […]

Continue reading
Posted in 未分类 · Leave a comment

浅析python编写函数装饰器

13 5月01 1月 by test16134286

编写函数装饰器 本节主要介绍编写函数装饰器的相关内容。 跟踪调用 如下代码定义并应用一个函数装饰器,来统计对装 […]

Continue reading
Posted in 未分类 · Leave a comment

理解python多线程(python多线程简明教程)

13 5月01 1月 by test16134286

对于python 多线程的理解,我花了很长时间,搜索的大部份文章都不够通俗易懂。所以,这里力图用简单的例子,让 […]

Continue reading
Posted in 未分类 · Leave a comment

为什么python有那么多方便的库而c++很少?

12 5月01 1月 by test16134286

比如python的matplotlib库吧,很方便而且甚至内置了从雅虎财经上扒数据的类,连正则表达式都不用输。 […]

Continue reading
Posted in 未分类 · Leave a comment

跟老齐学python之玩转字符串(1)

12 5月01 1月 by test16134286

如果对自然语言分类,有很多中分法,比如英语、法语、汉语等,这种分法是最常见的。在语言学里面,也有对语言的分类方 […]

Continue reading
Posted in 未分类 · Leave a comment

python监控网卡流量并使用graphite绘图的示例

12 5月01 1月 by test16134286

代码如下: #!/usr/bin/env pythonimport sys,timefrom socket i […]

Continue reading
Posted in 未分类 · Leave a comment

cpython是什么?pypy是什么?python和这两个东西有什么关系呢?python的底层使用什么语言实现?学习python需要学习底层实现吗?

10 5月01 1月 by test16134286

回复内容: 首先python是一种语言,因此根据其实现的不同,有cpython, jython, pypy等。 […]

Continue reading
Posted in 未分类 · Leave a comment

如何编写python程序爬取新浪军事论坛?

10 5月01 1月 by test16134286

回复内容: context_re = r'(.*?)’你准备的这个正则表达式啊,truncated […]

Continue reading
Posted in 未分类 · Leave a comment

下厨房使用python的技术细节能详细介绍下吗??

10 5月01 1月 by test16134286

回复内容: 下厨房网站主要用python完成,目前每天处理100w+动态请求(网站+api(移动)) 开发框架 […]

Continue reading
Posted in 未分类 · Leave a comment

利用一年的时间,利用空余的每天两个小时,怎么可以熟练掌握,python,mysql,服务器,linux?

10 5月01 1月 by test16134286

如何利用一年的时间,利用空余的每天两个小时,怎么可以熟练掌握,python,mysql,服务器,linux,希 […]

Continue reading
Posted in 未分类 · Leave a comment

python实现的一个p2p文件传输实例

10 5月01 1月 by test16134286

考虑到我手上的服务器逐渐的增多,有时候需要大规模的部署同一个文件,例如因为方便使用systemtap这个工具定 […]

Continue reading
Posted in 未分类 · Leave a comment

matlab和python相互无法替代的地方有哪些,对于以后一直做科研的人,两种语言到底哪家强?

10 5月01 1月 by test16134286

回复内容: python相对matlab的优势: 1. 通用编程语言,除了科学计算还可以做很多其他事情,比如w […]

Continue reading
Posted in 未分类 · Leave a comment

python调用sqlplus来操作和解析oracle数据库的方法

10 5月01 1月 by test16134286

先来看一个简单的利用python调用sqlplus来输出结果的例子: import os import sys […]

Continue reading
Posted in 未分类 · Leave a comment

python迭代器工具包【推荐】

09 5月01 1月 by test16134286

  原文:https://git.io/pytips   0x01 介绍了迭代器的概念,即定义了 __iter […]

Continue reading
Posted in 未分类 · Leave a comment

python解析html开发库pyquery使用方法

09 5月01 1月 by test16134286

例如 代码如下: 导演: 汤姆·提克威 / 拉娜·沃卓斯基 / 安迪·沃卓斯基编剧: 汤姆·提克威 / 安迪· […]

Continue reading
Posted in 未分类 · Leave a comment

跟老齐学python之python安装

09 5月01 1月 by test16134286

任何高级语言都是需要一个自己的编程环境的,这就好比写字一样,需要有纸和笔,在计算机上写东西,也需要有文字处理软 […]

Continue reading
Posted in 未分类 · Leave a comment

python连接mysql并提交mysql事务示例

08 5月01 1月 by test16134286

代码如下: # -*- coding: utf-8 -*-import sysimport mysqldbre […]

Continue reading
Posted in 未分类 · Leave a comment

pythonide新手用什么比较好?

08 5月01 1月 by test16134286

回复内容: pycharm, pycharm, pycharm 建议分两步:1. 熟悉一个纯文本编辑器(vim […]

Continue reading
Posted in 未分类 · Leave a comment

为什么在python3里b=a=1是合理表达式,而print(a=1)却不是。a=1为什么没有返回值?

07 5月01 1月 by test16134286

lisp里每个表达式均有值,而python3里为什么这种很平常的表达式却没有返回值呢?回复内容: 首先,因为你 […]

Continue reading
Posted in 未分类 · Leave a comment

在西安这样非一线城市,如何高效快速招到ios/android/python程序员?

06 5月01 1月 by test16134286

如题,作为西安一家移动互联网创业公司的hr表示压力很大,公司为了避开北上广深创业公司人员流动快的弊端加上老板是 […]

Continue reading
Posted in 未分类 · Leave a comment

python初学者想通过django框架写一个博客,一个月内完成任务,大致的学习路线怎么安排?

06 5月01 1月 by test16134286

两年后更新:现在已经在知乎从事 python 相关的工作。看看当初的自己,真是很幼稚,继续加油。回复内容: 一 […]

Continue reading
Posted in 未分类 · Leave a comment

学习pythonweb框架前需要掌握什么?

06 5月01 1月 by test16134286

目前对 python 语言本身学习过,对 html,css,javascript 也了解。还需要什么吗? 回复 […]

Continue reading
Posted in 未分类 · Leave a comment

对python的django框架中的项目进行单元测试的方法

06 5月01 1月 by test16134286

python中的单元测试 我们先来回顾一下python中的单元测试方法。 下面是一个 python的单元测试简 […]

Continue reading
Posted in 未分类 · Leave a comment

python脚本实现查找webshell的方法

05 5月01 1月 by test16134286

本文讲述了一个python查找 webshell脚本的代码,除了查找webshell功能之外还具有白名单功能, […]

Continue reading
Posted in 未分类 · Leave a comment

深入解析python设计模式编程中建造者模式的使用

05 5月01 1月 by test16134286

建造者模式:将一个复杂对象的构建与他的表示分离,使得同样的构建过程可以创建不同的表示。 基本思想 某类产品的构 […]

Continue reading
Posted in 未分类 · Leave a comment

python手机号码归属地查询代码

05 5月01 1月 by test16134286

简单的一个例子,是以前用dephi写的,前不久刚实现了一个在python中使用delphi控件来编写界面程序, […]

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