Skip to content
  • About Me

charlie笔记

A programmer’s note boke for work and life

python判断给定的字符串是否是有效日期的方法

24 6月01 1月 by test4807991

本文实例讲述了python判断给定的字符串是否是有效日期的方法。分享给大家供大家参考。具体分析如下: 这里py […]

Continue reading
Posted in 未分类 · Leave a comment

python类定义的讲解

24 6月01 1月 by test30307667

一、类定义: 代码如下: class : 类实例化后,可以使用其属性,实际上,创建一个类之后,可以通过类名访问 […]

Continue reading
Posted in 未分类 · Leave a comment

python2.7中文字符编码,使用unicode时,选择什么编码格式?

24 6月01 1月 by test16134286

回复内容: 关于编码和乱码的问题,我简单讲一下。通常问这类问题的人是混淆了若干个不同的概念,并且他们自己也没有 […]

Continue reading
Posted in 未分类 · Leave a comment

python实现从订阅源下载图片的方法

24 6月01 1月 by test30307667

本文实例讲述了python实现从订阅源下载图片的方法。分享给大家供大家参考。具体如下: 这段代码是基于pyth […]

Continue reading
Posted in 未分类 · Leave a comment

只会python但有算法/数学背景,如何快速进修学习成为c++程序员?

23 6月01 1月 by test16134286

我平常只用python,不追求速度时做一些简单数学计算很方便,但工作必须学会c++。回复内容: 我也是先学的p […]

Continue reading
Posted in 未分类 · Leave a comment

python中pip安装非pypi官网第三方库的方法

23 6月01 1月 by test30307667

在python中安装非自带python模块,有三种方式: 1.easy_install 2.pip 3.下载压 […]

Continue reading
Posted in 未分类 · Leave a comment

python2.x利用commands模块执行linuxshell命令

23 6月01 1月 by test16134286

用python写运维脚本时,经常需要执行linux shell的命令,python中的commands模块专门 […]

Continue reading
Posted in 未分类 · Leave a comment

有哪些gis+python的开发经验值得分享?

23 6月01 1月 by test16134286

我目前能够找到的只有像python geo-spatial devlopment[1]这样有一定年龄的教学书籍 […]

Continue reading
Posted in 未分类 · Leave a comment

为什么不给python这样的解释语言写一个编译器?

23 6月01 1月 by test16134286

如题。解释语言性能比较差,为什么一个语言不能既有编译器又有解释器?这样可以在需要性能的时候编译它。我刚开始涉足 […]

Continue reading
Posted in 未分类 · Leave a comment

python列表(list)、字典(dict)、字符串(string)基本操作小结

23 6月01 1月 by test30307667

创建列表 代码如下: sample_list = [‘a’,1,(‘a&# […]

Continue reading
Posted in 未分类 · Leave a comment

python判断图片宽度和高度后删除图片的方法

23 6月01 1月 by test4807991

本文实例讲述了python判断图片宽度和高度后删除图片的方法。分享给大家供大家参考。具体分析如下: image […]

Continue reading
Posted in 未分类 · Leave a comment

python中使用动态变量名的方法

23 6月01 1月 by test16134286

如果要写一个程序,让x1为1,x2为2,然后直到x100为100,你会怎么做? 在c这种静态语言里,变量名这个 […]

Continue reading
Posted in 未分类 · Leave a comment

python使用mongodb入门实例

23 6月01 1月 by test4807991

本文实例讲述了python使用mongodb的方法。分享给大家供大家参考。具体如下: 1. 启动mongodb […]

Continue reading
Posted in 未分类 · Leave a comment

python编写检测数据库sa用户的方法

23 6月01 1月 by test16134286

本文讲述一个用python写的小程序,用于有注入点的链接,以检测当前数据库用户是否为sa,详细代码如下: # […]

Continue reading
Posted in 未分类 · Leave a comment

python文件及目录操作实例详解

23 6月01 1月 by test4807991

本文实例讲述了python文件及目录操作的方法。分享给大家供大家参考。具体分析如下: 在python中对文件及 […]

Continue reading
Posted in 未分类 · Leave a comment

如何快速地在windows上部署python开发环境,包括各种常用的第三方库?

23 6月01 1月 by test16134286

能否有如ubuntu下apt-get搞定一切的方案?回复内容: python的科学计算平台anaconda。 […]

Continue reading
Posted in 未分类 · Leave a comment

十条建议帮你提高python编程效率

22 6月01 1月 by test4807991

程序员的时间很宝贵,python这门语言虽然足够简单、优雅,但并不是说你使用python编程,效率就一定会高。 […]

Continue reading
Posted in 未分类 · Leave a comment

python导出dbf文件到excel的方法

22 6月01 1月 by test4807991

本文实例讲述了python导出dbf文件到excel的方法。分享给大家供大家参考。具体如下: from dbf […]

Continue reading
Posted in 未分类 · Leave a comment

python中collection的使用小技巧

22 6月01 1月 by test16134286

本文所述实例来自独立软件开发者 alex marandon,在他的博客中曾介绍了数个关于 python col […]

Continue reading
Posted in 未分类 · Leave a comment

分享python文本生成二维码实例

22 6月01 1月 by test4807991

本文实例分享了python文本生成二维码的详细代码,供大家参考,具体内容如下 测试一:将文本生成白底黑字的二维 […]

Continue reading
Posted in 未分类 · Leave a comment

在python程序中进行文件读取和写入操作的教程

22 6月01 1月 by test4807991

读写文件是最常见的io操作。python内置了读写文件的函数,用法和c是兼容的。 读写文件前,我们先必须了解一 […]

Continue reading
Posted in 未分类 · Leave a comment

举例讲解如何在python编程中进行迭代和遍历

22 6月01 1月 by test4807991

迭代 首先理解下什么是迭代,python中所有从左往右扫面对象的方式都是可迭代的 有哪些方式是可迭代的: 1. […]

Continue reading
Posted in 未分类 · Leave a comment

使用python编写简单的画图板程序的示例教程

22 6月01 1月 by test4807991

从这次开始,我会由简单到困难(其实也不会困难到哪里去)讲几个例程,每一个例程都是我自己写(或者修改,那样的话我 […]

Continue reading
Posted in 未分类 · Leave a comment

python中time模块与datetime模块在使用中的不同之处

22 6月01 1月 by test4807991

python 中提供了对时间日期的多种多样的处理方式,主要是在 time 和 datetime 这两个模块里。 […]

Continue reading
Posted in 未分类 · Leave a comment

pythongetopt参数处理小示例

22 6月01 1月 by test30307667

opts, args = getopt.getopt(sys.argv[1:], “t:s:h&# […]

Continue reading
Posted in 未分类 · Leave a comment

利用python中的输入和输出功能进行读取和写入的教程

22 6月01 1月 by test30307667

读取、写入和 python 编写程序的最后一个基本步骤就是从文件读取数据和把数据写入文件。阅读完这篇文章之后, […]

Continue reading
Posted in 未分类 · Leave a comment

python简单计算文件夹大小的方法

21 6月01 1月 by test4807991

本文实例讲述了python简单计算文件夹大小的方法。分享给大家供大家参考。具体如下: import os, r […]

Continue reading
Posted in 未分类 · Leave a comment

python随机生成指定长度密码的方法

21 6月01 1月 by test30307667

本文实例讲述了python随机生成指定长度密码的方法。分享给大家供大家参考。具体如下: 下面的python代码 […]

Continue reading
Posted in 未分类 · Leave a comment

python会不会替代matlab?

21 6月01 1月 by test16134286

matlab 虽然很强大,但是太单一了。不能 web,不能做脚本……各种缺点最主要是收费,作为大企业公司是不在 […]

Continue reading
Posted in 未分类 · Leave a comment

python中遍历字典过程中更改元素导致异常的解决方法

21 6月01 1月 by test16134286

先来回顾一下python中遍历字典的一些基本方法: 脚本: #!/usr/bin/python dict={& […]

Continue reading
Posted in 未分类 · Leave a comment

文章导航

Previous 1 … 131 132 133 134 135 136 137 138 139 140 141 … 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笔记 ·
程序猿 散文朗诵 鬼故事 佛学网