Skip to content
  • About Me

charlie笔记

A programmer’s note boke for work and life

月份:2016年7月

macosx10.9安装的python2.7升级python3.3步骤详解

15 7月01 1月 by test30307667

第1步:官网下载python3.3 这里面有windows和mac os x下的安装程序,下载那个64位的安装 […]

Continue reading
Posted in 未分类 · Leave a comment

python使用pygresql操作postgresql数据库教程

15 7月01 1月 by test16134286

postgresql是一款功能强大的开源关系型数据库,本文使用python实现了对开源数据库postgresq […]

Continue reading
Posted in 未分类 · Leave a comment

在python的django框架的视图中使用session的方法

15 7月01 1月 by test4807991

sessionmiddleware 激活后,每个传给视图(view)函数的第一个参数“httpre […]

Continue reading
Posted in 未分类 · Leave a comment

python使用py2exe打包程序介绍

15 7月01 1月 by test30307667

一、简介 py2exe是一个将python脚本转换成windows上的可独立执行的可执行程序(*.exe)的工 […]

Continue reading
Posted in 未分类 · Leave a comment

python的django框架中settings文件的部署建议

15 7月01 1月 by test4807991

django在一个项目的目录结构划分方面缺乏必要的规范,因此不同人的项目组织形式也千奇百怪,而且也很难说谁的做 […]

Continue reading
Posted in 未分类 · Leave a comment

在python中使用dict和set方法的教程

15 7月01 1月 by test4807991

dict python内置了字典:dict的支持,dict全称dictionary,在其他语言中也称为map, […]

Continue reading
Posted in 未分类 · Leave a comment

python调用dll操作抄表机

15 7月01 1月 by test30307667

# -*- coding: gbk -*- from ctypes import * dll = windll […]

Continue reading
Posted in 未分类 · Leave a comment

python和c++如何选择?

15 7月01 1月 by test16134286

大三狗,想要大四找到一线城市工作,主要方向是linux下编程,有linux c编程经验,最近一直在纠结是学c+ […]

Continue reading
Posted in 未分类 · Leave a comment

python操作日期和时间的方法

15 7月01 1月 by test16134286

不管何时何地,只要我们编程时遇到了跟时间有关的问题,都要想到 datetime 和 time 标准库模块,今天 […]

Continue reading
Posted in 未分类 · Leave a comment

python中处理时间的几种方法小结

15 7月01 1月 by test30307667

从一个字符串开始 在code上查看代码片派生到我的代码片 >>>time_str=’2008-08 […]

Continue reading
Posted in 未分类 · Leave a comment

一本大学,退学自学python自主创业?

15 7月01 1月 by test16134286

一本大学,全国五十名左右,数学专业(调配),已经降了一级,专业内容实在没兴趣也跟不上。有美术设计基础,编程基础 […]

Continue reading
Posted in 未分类 · Leave a comment

python异常学习笔记

15 7月01 1月 by test30307667

异常(exceptions)是python中一种非常重要的类型,它和语法错误不同,是在程序运行期间引发的错误。 […]

Continue reading
Posted in 未分类 · Leave a comment

python中zip()方法应用实例分析

15 7月01 1月 by test16134286

本文实例分析了python中zip()方法的应用。分享给大家供大家参考,具体如下: 假设有一个集合set, 需 […]

Continue reading
Posted in 未分类 · Leave a comment

windows下搭建python开发环境详细步骤

15 7月01 1月 by test16134286

本文为大家分享了windows下搭建python开发环境详细步骤,供大家参考,具体内容如下 1.搭建java环 […]

Continue reading
Posted in 未分类 · Leave a comment

pythonself,cls,decorator的理解

15 7月01 1月 by test30307667

1. self, cls 不是关键字 在python里面,self, cls 不是关键字,完全可以使用自己写的 […]

Continue reading
Posted in 未分类 · Leave a comment

在python中操作时间之tzset()方法的使用教程

14 7月01 1月 by test30307667

tzset()方法重置所使用的库例程的时间转换规则。环境变量tz指定如何完成此操作。 tz环境变量的标准格式( […]

Continue reading
Posted in 未分类 · Leave a comment

python学习笔记之os模块使用总结

14 7月01 1月 by test30307667

代码如下: #!/usr/bin/env python ##-*- coding: utf-8 -*- imp […]

Continue reading
Posted in 未分类 · Leave a comment

python每次处理固定个数的字符的方法总结

14 7月01 1月 by test30307667

首先,来看每次处理一个字符的情况,可以有如下方法去实现:方法一: 代码如下: >>> a=’123 […]

Continue reading
Posted in 未分类 · Leave a comment

python下rrdtool模块的基本使用方法

14 7月01 1月 by test4807991

最近需要用python根据收集到的数据进行绘图,决定使用rrd数据库,然后配合rrdtool来绘图,故学习一下 […]

Continue reading
Posted in 未分类 · Leave a comment

python检测远程端口是否打开的方法

14 7月01 1月 by test30307667

本文实例讲述了python判断远程端口是否打开的方法。分享给大家供大家参考。具体实现方法如下: import […]

Continue reading
Posted in 未分类 · Leave a comment

用实例解释python中的继承和多态的概念

14 7月01 1月 by test30307667

在oop程序设计中,当我们定义一个class的时候,可以从某个现有的class继承,新的class称为子类(s […]

Continue reading
Posted in 未分类 · Leave a comment

python实现在字符串中查找子字符串的方法

14 7月01 1月 by test4807991

本文实例讲述了python实现在字符串中查找子字符串的方法。分享给大家供大家参考。具体如下: 这里实现pyth […]

Continue reading
Posted in 未分类 · Leave a comment

linux系统上nginx+python的web.py与django框架环境

14 7月01 1月 by test4807991

1.编译nginx 在网上买了一本《实战nginx-取代apache的高性能服务器》,写的比较浅,主要是些配置 […]

Continue reading
Posted in 未分类 · Leave a comment

在python程序中操作文件之isatty()方法的使用教程

14 7月01 1月 by test30307667

如果文件已连接(与终端设备相关联)到一个tty(状)的设备,isatty()方法返回true,否则返回fals […]

Continue reading
Posted in 未分类 · Leave a comment

python采集腾讯新闻实例

13 7月01 1月 by test16134286

目标是把腾讯新闻主页上所有新闻爬取下来,获得每一篇新闻的名称、时间、来源以及正文。 接下来分解目标,一步一步地 […]

Continue reading
Posted in 未分类 · Leave a comment

python中字符串前面加r的作用

13 7月01 1月 by test30307667

本文实例讲述了python中字符串前面加r的作用。分享给大家供大家参考。具体分析如下: 字符串前面加r,表示的 […]

Continue reading
Posted in 未分类 · Leave a comment

python中使用装饰器和元编程实现结构体类实例

13 7月01 1月 by test30307667

ruby中有一个很方便的struct类,用来实现结构体。这样就不用费力的去定义一个完整的类来仅仅用作访问属性。 […]

Continue reading
Posted in 未分类 · Leave a comment

python实现备份目录的方法

13 7月01 1月 by test4807991

本文实例讲述了python实现备份目录的方法。分享给大家供大家参考。具体如下: 备份脚本1: #!/usr/b […]

Continue reading
Posted in 未分类 · Leave a comment

python语言是不是有设计缺陷?

13 7月01 1月 by test16134286

看python写的源码,很多不知道类型到底是什么,亦不知道该调用什么方法,常用方法的返回值也不知道是什么类型, […]

Continue reading
Posted in 未分类 · Leave a comment

python解析nginx日志文件

13 7月01 1月 by test30307667

项目的一个需求是解析nginx的日志文件。 简单的整理如下: 日志规则描述 首先要明确自己的nginx的日志格 […]

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