Skip to content
  • About Me

charlie笔记

A programmer’s note boke for work and life

分类:Python

python笔记,python案例,python学习

简单介绍python中的json使用

11 11月10 11月 by test4807991

json进阶 python的dict对象可以直接序列化为json的{},不过,很多时候,我们更喜欢用class […]

Continue reading
Posted in Python · Leave a comment

在python中使用sort()方法进行排序的简单教程

11 11月10 11月 by test4807991

sort()方法排序列表中的对象,比较使用func(如果给定)。 语法 以下是sort()方法的语法: lis […]

Continue reading
Posted in Python · Leave a comment

python的迭代器和生成器

10 11月10 11月 by test4807991

先说迭代器,对于string、list、dict、tuple等这类容器对象,使用for循环遍历是很方便的。在后 […]

Continue reading
Posted in Python · Leave a comment

python实现svn的目录周期性备份实例

10 11月10 11月 by test4807991

本文实例讲述了python实现svn的目录周期性备份方法。分享给大家供大家参考。具体如下: 起因:今天用svn […]

Continue reading
Posted in Python · Leave a comment

编写python脚本来获取mp3文件tag信息的教程

09 11月10 11月 by test4807991

下面利用一个python的实例程序,来学习python。这个程序的目的就是分析出所有mp3文件的tag信息并输 […]

Continue reading
Posted in Python · Leave a comment

python自动扫雷实现方法

09 11月10 11月 by test4807991

本文实例讲述了python自动扫雷实现方法。分享给大家供大家参考。具体如下: #pywinminecrack. […]

Continue reading
Posted in Python · Leave a comment

python实现遍历数据库并获取key的值

09 11月10 11月 by test4807991

遍历redis数据库中有以格式为prefix_*的按照key-value方式存储的key,并打印其值. 遍历使 […]

Continue reading
Posted in Python · Leave a comment

python3指定路径寻找符合匹配模式文件

08 11月10 11月 by test4807991

本文实例讲述了python3指定路径寻找符合匹配模式文件。分享给大家供大家参考。具体实现方法如下: 这里给定一 […]

Continue reading
Posted in Python · Leave a comment

python获取邮件地址的方法

07 11月10 11月 by test4807991

本文实例讲述了python获取邮件地址的方法。分享给大家供大家参考。具体实现方法如下: import emai […]

Continue reading
Posted in Python · Leave a comment

python读写ini配置文件方法实例分析

07 11月10 11月 by test4807991

本文实例讲述了python读写ini配置文件方法。分享给大家供大家参考。具体实现方法如下: import co […]

Continue reading
Posted in Python · Leave a comment

python实现的希尔排序算法实例

07 11月10 11月 by test4807991

本文实例讲述了python实现希尔排序算法的方法。分享给大家供大家参考。具体如下: def shellsort […]

Continue reading
Posted in Python · Leave a comment

python遍历指定文件及文件夹的方法

07 11月10 11月 by test4807991

本文实例讲述了python遍历指定文件及文件夹的方法。分享给大家供大家参考。具体如下: 初次编写: impor […]

Continue reading
Posted in Python · Leave a comment

在python的django框架中更新数据库数据的方法

07 11月10 11月 by test4807991

先使用一些关键参数创建对象实例,如下: >>> p = publisher(name=’apres […]

Continue reading
Posted in Python · Leave a comment

在python的列表中利用remove()方法删除元素的教程

06 11月10 11月 by test4807991

remove()方法从列表中删除第一个obj。 语法 以下是remove()方法的语法: list.remov […]

Continue reading
Posted in Python · Leave a comment

求助:fedora9卸载python后不能启动

10 2月10 11月 by test16604225

各位tx好,我装了fedora9 ,后来想自动升级到fedora 16,升级时python下面一个文件错误,我 […]

Continue reading
Posted in Python · Tagged python · Leave a comment

python学习笔记

10 2月10 11月 by test16604225

大多数 linux 发布版本在默认安装的情况下就已经提供了 python。在命令行下测试一下python,就可 […]

Continue reading
Posted in Python · Tagged python · Leave a comment

记录下debian配置fastcgi+python的过程

10 2月10 11月 by test16604225

先安装 fastcgi先 apt-get install libapach2-mod-fcgid 如果需要支持 […]

Continue reading
Posted in Python · Leave a comment

在ubuntuserver上如何搭建python的web服务

10 2月10 11月 by test16604225

在ubuntu server 上如何搭建python的web服务?

Continue reading
Posted in Python · Leave a comment

python2.6.3

10 2月10 11月 by test16604225

we are pleased to announce the release of python 2.6.3, […]

Continue reading
Posted in Python · Tagged python · Leave a comment

redhat升级python到2.7.6

10 2月10 11月 by test16604225

从今天开始学习python!看了一下虚拟机redhat中的python,发现还是原生的2.4.3,所以决定升级 […]

Continue reading
Posted in Python · Leave a comment

ubuntu11.04下安装mongodb和python驱动

10 2月10 11月 by test16604225

首先说明一下,我的系统是ubuntu 11.04,64位系统,以下安装可能需要自己根据系统状况修改。 1.下载 […]

Continue reading
Posted in Python · Leave a comment

linux应用技巧,序列化存储python对象

10 2月10 11月 by test16604225

  什么是持久性?   持久性的基本思想很简单。假定有一个 python 程序,它可能是一个管理日常待办事项的 […]

Continue reading
Posted in Python · Leave a comment

diveintopython3书籍

10 2月10 11月 by test16604225

pe into python 3,可自由下载chm,pdf版。 地址http://peintopython3. […]

Continue reading
Posted in Python · Tagged python · Leave a comment

python程序在linux主机运行的注意事项

10 2月10 11月 by test16604225

原本在win上写的一些python脚本,有了真正的linux主机以后,上传上去竟然不能运行,找了很多资料,请教 […]

Continue reading
Posted in Python · Leave a comment

ubuntu下使用eclipse和pydev搭建完美python开发环境

10 2月10 11月 by test16604225

在windows下成功地搭好了一个python开发环境,这次转战ubuntu有了前面的经验,相对轻松多了 还发 […]

Continue reading
Posted in Python · Leave a comment

初学python,写的一个小东东,见笑!

10 2月10 11月 by test16604225

#/usr/bin/python # -*- coding: latin-1 -*- import os, s […]

Continue reading
Posted in Python · Leave a comment

python在redhat中解压不成功

10 2月10 11月 by test16604225

为什么我在redhat中解压python.2.7.2.tgz,解压不成功? 我用的是tar zxvf pyth […]

Continue reading
Posted in Python · Tagged python · Leave a comment

ubuntu下python版本问题

10 2月10 11月 by test16604225

ubuntu10.04下默认已装了python2.6.5,我现在想换python3.1,可装了之后还是识别为p […]

Continue reading
Posted in Python · Leave a comment

ubuntu安装nautiluspython扩展(nautiluspyextensions)

10 2月10 11月 by test16604225

nautilus python扩展包括很多有用的功能:1.open-terminal-geometry.py […]

Continue reading
Posted in Python · Leave a comment

ubuntu10.10升级到11.04过程中python2.7升级出错的解决方法(安装wine过程中出错)

10 2月10 11月 by test16604225

ubuntu 10.10默认python是2.6 ubuntu 11.04默认python是2.7 这个问题貌 […]

Continue reading
Posted in Python · 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
© 2026 charlie笔记 ·