Skip to content
  • About Me

charlie笔记

A programmer’s note boke for work and life

作者:test16134286

python多进程分块读取超大文件的方法

06 4月01 1月 by test16134286

本文实例讲述了python多进程分块读取超大文件的方法。分享给大家供大家参考,具体如下: 读取超大的文本文件, […]

Continue reading
Posted in 未分类 · Leave a comment

python获取远程文件大小的函数代码分享

06 4月01 1月 by test16134286

代码如下: def getremotefilesize(url, proxy=none): “&# […]

Continue reading
Posted in 未分类 · Leave a comment

pycharm使用心得(九)解决nopythoninterpreterselected的问题

06 4月01 1月 by test16134286

初次安装完pycharm后,新建项目时,遇到了no python interpreter selected的问 […]

Continue reading
Posted in 未分类 · Leave a comment

相比于django、pylon等python框架,rubyonrails是否有很大的技术优势?

06 4月01 1月 by test16134286

如果有优势,主要的技术优势是什么呢?回复内容: 我实习时候的指导老师(纯洁的白羊座 @清风 )在给实习生上第一 […]

Continue reading
Posted in 未分类 · Leave a comment

基于python的中文分词方案那种比较好?

06 4月01 1月 by test16134286

回复内容: “结巴”中文分词:做最好的python中文分词组件 “jieb […]

Continue reading
Posted in 未分类 · Leave a comment

如何理解python大法好?

05 4月01 1月 by test16134286

目前用java-selenium-jenkins搞些测试,之前学过一点python皮毛,但因为时间少,没深入, […]

Continue reading
Posted in 未分类 · Leave a comment

python使用设计模式中的责任链模式与迭代器模式的示例

05 4月01 1月 by test16134286

责任链模式 责任链模式:将能处理请求的对象连成一条链,并沿着这条链传递该请求,直到有一个对象处理请求为止,避免 […]

Continue reading
Posted in 未分类 · Leave a comment

在大型项目上,python是个烂语言吗?

05 4月01 1月 by test16134286

最近在pongba的google groups看到一个较火的讨论:python是个烂语言https://gro […]

Continue reading
Posted in 未分类 · Leave a comment

python读文件逐行处理的示例代码分享

05 4月01 1月 by test16134286

代码如下: import os ## for os.path.isfile() def dealline(li […]

Continue reading
Posted in 未分类 · Leave a comment

python程序在执行的时候源文件被修改对正在执行的程序有影响吗?

05 4月01 1月 by test16134286

我的python程序每一次需要比较长的时间才能跑完,但是有些时候我不想等到程序完成之后才去修改参数,可不可以在 […]

Continue reading
Posted in 未分类 · Leave a comment

python动态获取当前运行的类名和函数名的方法

04 4月01 1月 by test16134286

一、使用内置方法和修饰器方法获取类名、函数名 python中获取函数名的情况分为内部、外部,从外部的情况好获取 […]

Continue reading
Posted in 未分类 · Leave a comment

pythondjango模板的使用方法(图文)

04 4月01 1月 by test16134286

模版基本介绍模板是一个文本,用于分离文档的表现形式和内容。 模板定义了占位符以及各种用于规范文档该如何显示的各 […]

Continue reading
Posted in 未分类 · Leave a comment

python内置的字符串处理函数详细整理(覆盖日常所用)

04 4月01 1月 by test16134286

str=’python string function’ 生成字符串变量str=&#8 […]

Continue reading
Posted in 未分类 · Leave a comment

python数据类型详解(一)字符串

03 4月01 1月 by test16134286

一.基本数据类型   整数:int   字符串:str(注:\t等于一个tab键)   布尔值: bool   […]

Continue reading
Posted in 未分类 · Leave a comment

python中的闭包总结

03 4月01 1月 by test16134286

前几天又有人在我的这篇文章 python项目练习一:即时标记 下留言,关于其中一个闭包和re.sub的使用不太 […]

Continue reading
Posted in 未分类 · Leave a comment

为什么python程序不怎么占用cpu资源?

03 4月01 1月 by test16134286

只是个人感觉,写一些computationally intense的代码,c++的版本很快,而python的版 […]

Continue reading
Posted in 未分类 · Leave a comment

详解python的django框架中manage命令的使用与扩展

02 4月01 1月 by test16134286

【简介】 django-admin.py是django的一个用于管理任务的命令行工具。本文将描述它的大概用法。 […]

Continue reading
Posted in 未分类 · Leave a comment

为什么lua的小数计算能够非常准确,而python,javascript这些语言的小数计算常常不准确?

02 4月01 1月 by test16134286

上图是lua的计算结果,可以看到计算结果很准确。下图是python3的计算结果,可以看到计算结果不准确:jav […]

Continue reading
Posted in 未分类 · Leave a comment

两个命令把vim打造成pythonide的方法

02 4月01 1月 by test16134286

运行下面两个命令,即可把 vim(含插件)配置成 python ide。目前支持 mac 和 ubuntu。 […]

Continue reading
Posted in 未分类 · Leave a comment

pythonsubprocess模块学习总结

02 4月01 1月 by test16134286

一、subprocess以及常用的封装函数运行python的时候,我们都是在创建并运行一个进程。像linux进 […]

Continue reading
Posted in 未分类 · Leave a comment

python为什么不解决四舍五入(round)的“bug”?

02 4月01 1月 by test16134286

回复内容: 因为二进制浮点数不能解决这个问题。先看一个现象,和 round 无关的: >>> def show […]

Continue reading
Posted in 未分类 · Leave a comment

学习python的迷茫,如何高效有趣地学习python?

02 4月01 1月 by test16134286

最近开始学习python语言,学完了《与孩子一起学编程》,看完了官方的tutorial。现在正在看中文版的《l […]

Continue reading
Posted in 未分类 · Leave a comment

使用python的supervisor进行进程监控以及自动启动

02 4月01 1月 by test16134286

做服务器端开发的同学应该都对进程监控不会陌生,最近恰好要更换 uwsgi 为 gunicorn,而gunico […]

Continue reading
Posted in 未分类 · Leave a comment

你为什么用python?

01 4月01 1月 by test16134286

说说你用 python 做什么?以及你为什么用它?或者你为什么不用它?回复内容: 谢邀.为什么用: 最开始是在 […]

Continue reading
Posted in 未分类 · Leave a comment

跟老齐学python之有容乃大的list(3)

01 4月01 1月 by test16134286

对list的操作 向list中插入一个元素 前面有一个向list中追加元素的方法,那个追加是且只能是将新元素添 […]

Continue reading
Posted in 未分类 · Leave a comment

python下的mysql模块mysqldb安装详解

01 4月01 1月 by test16134286

默认情况下,mysqldb包是没有安装的,不信? 看到类似下面的代码你就信了。 代码如下: -bash-3.2 […]

Continue reading
Posted in 未分类 · Leave a comment

深入解析python中函数的参数与作用域

01 4月01 1月 by test16134286

传递参数 函数传递参数时的一些简要的关键点: 参数的传递是通过自动将对象赋值给本地变量名来实现的。所有的参数实 […]

Continue reading
Posted in 未分类 · Leave a comment

python使用logging结合decorator模式实现优化日志输出的方法

01 4月01 1月 by test16134286

本文实例讲述了python使用logging结合decorator模式实现优化日志输出的方法。分享给大家供大家 […]

Continue reading
Posted in 未分类 · Leave a comment

python语言实现获取主机名根据端口杀死进程

01 4月01 1月 by test16134286

推荐阅读:使用python检测主机存活端口及检查存活主机 下面给大家分享使用python语言实现获取主机名根据 […]

Continue reading
Posted in 未分类 · Leave a comment

像dropbox这样从python转到go语言是不是新的趋势?

31 3月01 1月 by test16134286

为了更好的后端效能,dropbox 一年前便开始从 python 转到 go.> dropbox owes a […]

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