Skip to content
  • About Me

charlie笔记

A programmer’s note boke for work and life

浅析python内置字符串处理函数的使用方法

20 6月01 1月 by test31297505

一、lower():将大写字母全部转为小写字母。如: 代码如下: name=’g’b= […]

Continue reading
Posted in 未分类 · Leave a comment

在python中处理字符串之isdecimal()方法的使用

20 6月01 1月 by test31297505

isdecimal()方法检查字符串是否仅由十进制字符组成。此方法只存在于unicode对象。 注意:要定义一 […]

Continue reading
Posted in 未分类 · Leave a comment

详解python中的相对导入和绝对导入

20 6月01 1月 by test31297505

前言 python 相对导入与绝对导入,这两个概念是相对于包内导入而言的。包内导入即是包内的模块导入包内部的模 […]

Continue reading
Posted in 未分类 · Leave a comment

python中取整的几种方法小结

20 6月01 1月 by test31297505

前言 对每位程序员来说,在编程过程中数据处理是不可避免的,很多时候都需要根据需求把获取到的数据进行处理,取整则 […]

Continue reading
Posted in 未分类 · Leave a comment

ubuntu16.04lts中源码安装python3.6.0的方法教程

20 6月01 1月 by test31297505

前提 官网上提供了 mac 和 windows 上的安装包和 linux 上安装需要的源码。 下载地址如下: […]

Continue reading
Posted in 未分类 · Leave a comment

ubuntu下安装python多版本的方法及注意事项

20 6月01 1月 by test31297505

今天一不小心又把ubuntu系统给完坏了,因为我把python3卸载了,然后就。。。好了,不废话了,接下来就说 […]

Continue reading
Posted in 未分类 · Leave a comment

ubuntu12.0464位对python源代码编译详解

20 6月01 1月 by test31297505

ubuntu下python源代码编译 环境: ubuntu 12.04 64位 liaops@ay130611 […]

Continue reading
Posted in 未分类 · Leave a comment

更改ubuntu默认python版本的两种方法python

20 6月01 1月 by test31297505

你可以按照以下方法使用 ls 命令来查看你的系统中都有那些 python 的二进制文件可供使用。 $ ls / […]

Continue reading
Posted in 未分类 · Leave a comment

python开发如何在ubuntu15.10上配置vim

20 6月01 1月 by test31297505

1,安装vim,你可以使用ubuntu 自带的apt-get 工具安装。 apt-get install vi […]

Continue reading
Posted in 未分类 · Leave a comment

python使用pymysql实现操作mysql

20 6月01 1月 by test31297505

pymsql是python中操作mysql的模块,其使用方法和mysqldb几乎相同。但目前pymysql支持 […]

Continue reading
Posted in 未分类 · Leave a comment

python中操作mysql的pymysql模块详解

20 6月01 1月 by test31297505

前言 pymsql是python中操作mysql的模块,其使用方法和mysqldb几乎相同。但目前pymysq […]

Continue reading
Posted in 未分类 · Leave a comment

python连接mysql数据库的正确姿势

20 6月01 1月 by test31297505

python 数据库接口支持非常多的数据库,你可以选择适合你项目的数据库: gadfly msql mysql […]

Continue reading
Posted in 未分类 · Leave a comment

ubuntu系统下python链接mysql数据库的方法

20 6月01 1月 by test31297505

进入root 权限下 apt-get install mysql-server apt-get install […]

Continue reading
Posted in 未分类 · Leave a comment

用python删除java文件头上版权信息的方法

20 6月01 1月 by test31297505

在使用他人代码时,为不保留文件头部版权信息,需要一个个删掉,费时费力, 写了个脚本,简单清除掉目录下所有的文件 […]

Continue reading
Posted in 未分类 · Leave a comment

python简单实现获取当前时间

20 6月01 1月 by test31297505

说起计算机中的时间,还有一些比较有意思的事,比如我们经常听到的unix时间戳,utc时间,格林威治时间等,从表 […]

Continue reading
Posted in 未分类 · Leave a comment

python时间戳与格式化时间的转化实现代码

20 6月01 1月 by test31297505

python 里面与时间有关的模块主要是 time 和 datetime 如果想获取系统当前时间戳:time. […]

Continue reading
Posted in 未分类 · Leave a comment

pythondatetime时间格式化去掉前导0

20 6月01 1月 by test31297505

python时间格式化的时候,去掉前导0的: dt = datetime.now() print dt.str […]

Continue reading
Posted in 未分类 · Leave a comment

python时间操作例子和时间格式化参数小结

20 6月01 1月 by test31297505

1.取过去具体时间的方法: 代码如下: #!/usr/bin/python import time #取一天前 […]

Continue reading
Posted in 未分类 · Leave a comment

python时间处理datetime实例

20 6月01 1月 by test31297505

同时,关于datetime也是简单介绍。因为有很多东西需要自己去使用,去查帮助才最有效。例子:计算上一个星期五 […]

Continue reading
Posted in 未分类 · Leave a comment

python简单格式化时间的方法【strftime函数】

20 6月01 1月 by test31297505

本文实例讲述了python简单格式化时间的方法,分享给大家供大家参考,具体如下: walker经常用到当前时间 […]

Continue reading
Posted in 未分类 · Leave a comment

python类与元类的深度挖掘ii【经验】

19 6月01 1月 by test16134286

  上一篇解决了通过调用类对象生成实例对象过程中可能遇到的命名空间相关的一些问题,这次我们向上回溯一层,看看类 […]

Continue reading
Posted in 未分类 · Leave a comment

python修改注册表终止360进程实例

19 6月01 1月 by test30307667

本文实例讲述了python修改注册表终止360进程的实现方法。分享给大家供大家参考。 具体实现代码如下: im […]

Continue reading
Posted in 未分类 · Leave a comment

为什么要学习python?

19 6月01 1月 by test16134286

在网上也搜了一点东西,但是回答的都不满意。其实我就是想知道python应用场景在哪里?优势又在哪里?回复内容: […]

Continue reading
Posted in 未分类 · Leave a comment

python实现将xml导入至excel

19 6月01 1月 by test4807991

最近在使用testlink时,发现导入的用例是xml格式,且没有合适的工具转成excel格式,xml使用exc […]

Continue reading
Posted in 未分类 · Leave a comment

python写的一个文本编辑器

19 6月01 1月 by test16134286

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

Continue reading
Posted in 未分类 · Leave a comment

python中xrange和range的区别

19 6月01 1月 by test16134286

range 函数说明:range([start,] stop[, step]),根据start与stop指定的 […]

Continue reading
Posted in 未分类 · Leave a comment

pythonsocketc/s结构的聊天室应用实现

18 6月01 1月 by test30307667

python socket c/s结构的聊天室应用 服务端: #!/usr/bin/env python #c […]

Continue reading
Posted in 未分类 · Leave a comment

python中pygame针对游戏窗口的显示方法实例分析(附源码)

18 6月01 1月 by test4807991

本文实例讲述了python中pygame针对游戏窗口的显示方法。分享给大家供大家参考,具体如下: 在这篇教程中 […]

Continue reading
Posted in 未分类 · Leave a comment

python对url格式解析的方法

18 6月01 1月 by test4807991

本文实例讲述了python对url格式解析的方法。分享给大家供大家参考。具体分析如下: python针对url […]

Continue reading
Posted in 未分类 · Leave a comment

对于初学者应该选择python什么版本呢?

18 6月01 1月 by test16134286

作为初学者,几乎没有基础,python简明教程使用的是2.4.3,而最新的3x新手方面的教程几乎很少。我应该如 […]

Continue reading
Posted in 未分类 · Leave a comment

文章导航

Previous 1 … 161 162 163 164 165 166 167 168 169 170 171 … 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笔记 ·
程序猿 散文朗诵 鬼故事 佛学网