Skip to content
  • About Me

charlie笔记

A programmer’s note boke for work and life

python求斐波那契数列示例分享

02 8月01 1月 by test16134286

代码如下: def getfibonacci(num): res=[0,1] a=0 b=1 for x in […]

Continue reading
Posted in 未分类 · Leave a comment

python的库函数里有没有现成的全排列函数?

02 8月01 1月 by test16134286

回复内容: 这个就行>>> for i in itertools.permutations(‘ab […]

Continue reading
Posted in 未分类 · Leave a comment

python3通过luhn算法快速验证信用卡卡号的方法

02 8月01 1月 by test30307667

本文实例讲述了python3通过luhn算法快速验证信用卡卡号的方法。分享给大家供大家参考。具体分析如下: p […]

Continue reading
Posted in 未分类 · Leave a comment

基于python实现一个简单的银行转账操作

01 8月01 1月 by test16134286

前言 在进行一个应用系统的开发过程中,从上到下一般需要四个构件:客户端-业务逻辑层-数据访问层-数据库,其中数 […]

Continue reading
Posted in 未分类 · Leave a comment

python下函数参数的传递(参数带星号的说明)

01 8月01 1月 by test30307667

函数参数的使用又有俩个方面值得注意:1.函数参数是如何定义的 2.在调用函数的过程中参数是如何被解析先看第一个 […]

Continue reading
Posted in 未分类 · Leave a comment

在python中操作列表之list.append()方法的使用

01 8月01 1月 by test30307667

append()方法追加传递obj到现有的列表。 语法 以下是append()方法的语法: list.appe […]

Continue reading
Posted in 未分类 · Leave a comment

为什么有人说python的多线程是鸡肋呢?

01 8月01 1月 by test16134286

回复内容: gil blablabla concurrent blablabla简单地说就是作为可能是仅有的支 […]

Continue reading
Posted in 未分类 · Leave a comment

python中字典(dictionary)用法实例详解

01 8月01 1月 by test30307667

本文实例讲述了python中字典(dictionary)用法。分享给大家供大家参考。具体分析如下: 字典(di […]

Continue reading
Posted in 未分类 · Leave a comment

python检测某个变量是否有定义的方法

01 8月01 1月 by test4807991

本文实例讲述了python检测某个变量是否有定义的方法。分享给大家供大家参考。具体如下: 第一种方法使用内置函 […]

Continue reading
Posted in 未分类 · Leave a comment

python做高频交易系统适合哪个级别的延迟?

01 8月01 1月 by test16134286

latency指tick to trade. 可以容许少数核心函数用cython或直接c来实现。回复内容: 我 […]

Continue reading
Posted in 未分类 · Leave a comment

pythoncontinue语句用法实例

01 8月01 1月 by test16134286

python使用 continue 语句跳出循环,而break跳出整个循环。continue 语句用来告诉py […]

Continue reading
Posted in 未分类 · Leave a comment

全python项目,使用protobufthrift适合吗?

01 8月01 1月 by test16134286

我现在在做一个全python的集群项目,用的xmlrpc去做各服务通信。但是xmlrpc的使用太恶心,而且异常 […]

Continue reading
Posted in 未分类 · Leave a comment

python使用calendar输出指定年份全年日历的方法

01 8月01 1月 by test30307667

本文实例讲述了python使用calendar输出指定年份全年日历的方法。分享给大家供大家参考。具体实现方法如 […]

Continue reading
Posted in 未分类 · Leave a comment

使用rpclib进行python网络编程时的注释问题

01 8月01 1月 by test4807991

rpclib 是一个非常好用的 python webservice 库,可以动态的生成 wsdl, 不过这个项 […]

Continue reading
Posted in 未分类 · Leave a comment

使用python中的greenlet包实现并发编程的入门教程

01 8月01 1月 by test30307667

1 动机 greenlet 包是 stackless 的副产品,其将微线程称为 “tasklet” 。task […]

Continue reading
Posted in 未分类 · Leave a comment

以windowsservice方式运行python程序的方法

01 8月01 1月 by test30307667

本文实例讲述了以windows service方式运行python程序的方法。分享给大家供大家参考。具体实现方 […]

Continue reading
Posted in 未分类 · Leave a comment

如何看待c++越来越像python这个说法?

01 8月01 1月 by test16134286

相关链接:c++ has become more pythonic中文链接:你们以为我在学c++?其实我在学 […]

Continue reading
Posted in 未分类 · Leave a comment

python删除windows垃圾文件的方法

01 8月01 1月 by test4807991

本文实例讲述了python删除windows垃圾文件的方法。分享给大家供大家参考。具体如下: #coding: […]

Continue reading
Posted in 未分类 · Leave a comment

简述python中的面向对象编程的概念

01 8月01 1月 by test4807991

面向对象编程——object oriented programming,简称oop,是一种程序设计思想。oop […]

Continue reading
Posted in 未分类 · Leave a comment

python的多态性实例分析

31 7月01 1月 by test4807991

本文实例讲述了python的多态性。分享给大家供大家参考。具体如下: #!/usr/bin/env pytho […]

Continue reading
Posted in 未分类 · Leave a comment

python生成指定尺寸缩略图的示例

31 7月01 1月 by test16134286

python生成指定尺寸的缩略图 代码如下: def makethumb(path, sizes=(75, 3 […]

Continue reading
Posted in 未分类 · Leave a comment

pythonrequests基础入门

31 7月01 1月 by test16134286

首先,python 标准库中的 urllib2 模块提供了你所需要的大多数 http 功能,但是它的 api […]

Continue reading
Posted in 未分类 · Leave a comment

python中threading超线程用法实例分析

31 7月01 1月 by test30307667

本文实例讲述了python中threading超线程用法。分享给大家供大家参考。具体分析如下: threadi […]

Continue reading
Posted in 未分类 · Leave a comment

python实现字典依据value排序

31 7月01 1月 by test4807991

具体内容如下: 使用sorted将字典按照其value大小排序 >>> record = {‘a& […]

Continue reading
Posted in 未分类 · Leave a comment

python多进程同步简单实现代码

31 7月01 1月 by test16134286

本文讲述了python多进程同步简单实现代码。分享给大家供大家参考,具体如下: #encoding=utf8 […]

Continue reading
Posted in 未分类 · Leave a comment

用python进行tcp网络编程的教程

31 7月01 1月 by test4807991

socket是网络编程的一个抽象概念。通常我们用一个socket表示“打开了一个网络链接”,而打开一个sock […]

Continue reading
Posted in 未分类 · Leave a comment

python实现简单html表格解析的方法

30 7月01 1月 by test30307667

本文实例讲述了python实现简单html表格解析的方法。分享给大家供大家参考。具体分析如下: 这里依赖lib […]

Continue reading
Posted in 未分类 · Leave a comment

python中条件判断语句的简单使用方法

30 7月01 1月 by test4807991

最简单的条件语句: if expression: expr_true_suite 如上,if是关键字,expr […]

Continue reading
Posted in 未分类 · Leave a comment

centos下更新python版本的步骤

30 7月01 1月 by test30307667

安装完centos5.9(final)后,执行#python与#python -v,看到版本号是2.4.3,很 […]

Continue reading
Posted in 未分类 · Leave a comment

在windows系统上搭建nginx+python+mysql环境的教程

30 7月01 1月 by test4807991

1 安装nginx 下载windows上的nginx最新版本,http://www.nginx.org/en/ […]

Continue reading
Posted in 未分类 · Leave a comment

文章导航

Previous 1 … 118 119 120 121 122 123 124 125 126 127 128 … 260 Next

近期文章

  • 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笔记 ·
程序猿 散文朗诵 鬼故事 佛学网