文章分类 -  python

python: 中文文件名
摘要:原文地址:http://see.sl088.com/wiki/Python_%E6%89%93%E5%BC%80%E4%B8%AD%E6%96%87%E6%96%87%E4%BB%B6 Python 打开中文文件 目录 [隐藏] 1 经验 2 见识 2.1 Python - Python Chine 阅读全文

posted @ 2016-10-17 15:37 ZhYQ_note 阅读(1274) 评论(0) 推荐(0) 编辑

Python 判断字符串是否为数字
摘要:1、原文地址:http://www.runoob.com/python3/python3-check-is-number.html 2、原文地址:http://bbs.csdn.net/topics/370089561 阅读全文

posted @ 2016-10-14 17:04 ZhYQ_note 阅读(534) 评论(0) 推荐(0) 编辑

Python编程的中文问题
摘要:原文地址:http://noalgo.info/578.html 字符编码问题是每个程序员必定会遇到的,同样,python的中文问题一直是一个非常令人头疼的问题,本文将介绍Python中涉及到中文细节问题。建议在阅读这篇文章之前,先前往字符编码详解这篇文章了解相关字符编码的原理细节。 str和Uni 阅读全文

posted @ 2016-10-14 13:53 ZhYQ_note 阅读(344) 评论(0) 推荐(0) 编辑

立即停止使用 setdefaultencoding('utf-8'), 以及为什么
摘要:原文地址:http://blog.ernest.me/post/python-setdefaultencoding-unicode-bytes 立即停止使用 setdefaultencoding('utf-8'), 以及为什么 2016-02-01 python 编码 unicode 6136 最坏 阅读全文

posted @ 2016-10-14 10:47 ZhYQ_note 阅读(257) 评论(0) 推荐(0) 编辑

Python如何输出包含在对象中的中文字符?
摘要:原文地址:https://www.zhihu.com/question/20413029 Python如何输出包含在对象中的中文字符? Python如何输出包含在对象中的中文字符? print [u'\u7ef3\u5b50', u'\u5e26\u5b50'][0] 可以正常输出其中一部分中文但是 阅读全文

posted @ 2016-10-14 10:40 ZhYQ_note 阅读(563) 评论(0) 推荐(0) 编辑

Python相对导入机制详解
摘要:原文地址:https://laike9m.com/blog/pythonxiang-dui-dao-ru-ji-zhi-xiang-jie,60/ Python相对导入机制详解 本文是对 http://stackoverflow.com/questions/14132789/python-relat 阅读全文

posted @ 2016-10-10 17:29 ZhYQ_note 阅读(253) 评论(0) 推荐(0) 编辑

Python深入:修改Python搜索路径
摘要:原文地址:http://blog.csdn.net/gqtcgq/article/details/49365933 当Python执行import语句时,它会在一些路径中搜索Python模块和扩展模块。可以通过sys.path查看这些路径,比如: [python] view plain copy > 阅读全文

posted @ 2016-10-08 18:46 ZhYQ_note 阅读(5124) 评论(0) 推荐(0) 编辑

python: python解释器路径
摘要:原文地址:https://gist.github.com/bluethon/1b795f972eb5a6becf5d9274073e6e0f 阅读全文

posted @ 2016-10-08 17:13 ZhYQ_note 阅读(372) 评论(0) 推荐(0) 编辑

Python 头部 #!/usr/bin/python 和 #!/usr/bin/env 的区别
摘要:原文地址:http://www.cnblogs.com/scofi/p/4867851.html 大部分python文件的头部都会写上 #!/usr/bin/python 或者 #!/usr/bin/env ,这个语句主要和运行模式有关, 如果我们用普通运行模式例如(linux) : python 阅读全文

posted @ 2016-10-08 17:09 ZhYQ_note 阅读(168) 评论(0) 推荐(0) 编辑

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5
点击右上角即可分享
微信分享提示