摘要: Stack Overflow's answer译:dist-packages is a Debian-specific convention that is also present in its derivatives, like Ubuntu. Modules are installed to dist-packages when they come from the Debian package manager into this location:dist-packages 是Debian特定惯例,这也存在于像是ubuntu上。 如果使用Debian软件管理器安装, 模块将被安 阅读全文
posted @ 2013-06-28 18:44 kv9 阅读(31893) 评论(1) 推荐(1) 编辑
摘要: Before:python built-in function: docs我只想学function map(),THIS - 摘: map(foo, seq) is equivalent to [ foo(x) for x in seq] -(看这个帖子,我好像明白了什么。好像第一次明白了,什么是“函数式编程”。)1.9 - 简化字符串的 translate 方法的使用WAIT- -!1.10 - 过滤字符串中不属于制定集合的字符 1.利用string.translate()处理中文,必须使用unicode。ASCII不能处理中文。 这个问题花了我一个上午,... 阅读全文
posted @ 2013-06-28 09:26 kv9 阅读(266) 评论(0) 推荐(0) 编辑