Core Python Programming - Wesley J. Chun

Core Python Programming

Wesley J. Chun

出版时间

2006-09-18

ISBN

9780132269933

评分

★★★★★
书籍介绍
A quick guide to everything anyone would want to know about the soaringly popular Internet programming language, Python. Provides an introduction to new features introduced in Python 1.6, and topics covered include regular expressions, extending Python, and OOP. The CD-ROM includes the source code for all of the examples in the text. Softcover. --This text refers to an out of print or unavailable edition of this title.
AI导读
核心看点
  • 涵盖Python核心语法与网络编程
  • 深入解析正则表达式及对象扩展
  • 提供大量实例代码与系统级应用
适合谁读
  • 具备编程基础的Python进阶者
  • 需要查阅技术细节的开发者
  • 对系统底层和网络感兴趣的人
读前提醒
  • 内容较深,纯新手建议先读入门书
  • 部分技术已过时,需结合新版文档
  • 建议作为工具书查阅,不必通读
读者共识
  • 经典教材,适合有一定基础者
  • 内容详实但略显陈旧,战线冗长
  • 翻译版本质量参差不齐,慎选

本导读基于书籍简介、目录、原文摘录、短评和书评生成,不等同于全文精读。

精彩摘录
  • "有一个更好的方案,许多Unix系统有一个命令叫env,位于/bin或/usr/bin中。它会帮你在系统搜索路径中找到python解释器。如果你的系统拥有env,你的启动行就可以改为下面这样。"
  • "print语句也支持将输出重定向到文件。这个特性是从Python2.0开始新增的。符号>>用来重定向输出"
  • "URL使用这种格式: prot_sch://net_loc/path;params?query#frag prot_sch 网络协议或者下载规划 net_loc 服务器位置(或许也有用户信息) path 斜杠(/)限定文件或者CGI应用程序的路径 params 可选参数 query 连接符(&)连接键值对 frag 拆分文档的特殊锚 net_loc 可以进一步拆分成多个部件, 有些是必备, 其他的是可选部件, net_loc 字符串如下: user:passwd@host:port"
  • "在我们研究CGI之前, 我们必须告诉你典型的Web应用已经不再使用CGI了。"
  • "Why must keys be hashable? The hash function used by the interpreter to calculate where to store your data is based on the value of your key. If the key was a mutable object, its value could be changed. If a key changes, the hash function will map to a different place to store the data. If that was "
  • "The defining PEP (234) cites that iterators: ● Provide an extensible iterator interface. ● Bring performance enhancements to list iteration. ● Allow for big performance improvements in dictionary iteration. ● Allow for the creation of a true iteration interface as opposed to overriding methods origi"
  • "FTP 是客户端/服务器编程中很“与众不同”的例子。客户端和服务器都使用两个套接字来通讯:一个是控制和命令端口(21 号端口),另一个是数据端口(有时是20 号端口)。"
  • "注意:字典中的键必须是可哈希的,所以数字和字符可以作为字典中的键,但是列表和其他字典不行"
用户评论
大赞win32的com接口,windows是最好的操作系统!
鸡肋,读个别需要的部分即可。
my second python programming book
正在读,作为初学者觉得入门入门部分还是很有帮助的
既可入门,亦可参考
入门Python的第一本大而全的好书,但其实看完觉得很多细节还是查Google方便😁
真心一般的书 不知道为啥还有人推荐
还是大学时期学习过的Python书籍,不错!
读此类书籍还是与时俱进的好,要去读最新的书,要去社泡着
终于
收藏