Python
dyufei
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
搜索目录下 匹配文件中 最新的文件 路径
搜索目录下 匹配文件中 最新的文件 路径 1 #!/usr/bin/python 2 import os 3 import glob 4 path = "/homeyufei/test" 5原创 2011-01-09 12:46:00 · 340 阅读 · 0 评论 -
python 编码 整理总结
一、编码 (1) python中,字符集的处理的两个对象: str 是指带有编码的字符串 unicode 是指不带有编码的字符串 相互转换: str ------> unicode --------> str decode encode 解码 编码 1 >>> a = '中' 2原创 2011-01-11 00:05:00 · 721 阅读 · 0 评论
分享