我的圣经:17年前的那本《Python 2.1 宝典》

办公室里有一个小小的书橱,摆放着我平时经常翻看的图书。但有一本书,一直放在那里,很多年都没有动过,书名叫做《Python 2.1 宝典》,译自美国计算机Bible丛书《Python 2.1 Bible》。今天是圣诞节,在这个特殊的日子里谈论《Python 2.1 Bible》,纯粹是巧合。Bible,直译为圣经,但这本《Python 2.1 Bible》的中文名字译作《Python 2.1 宝典》,我觉得倒是更贴切一点。
在这里插入图片描述
《Python 2.1 宝典》由电子工业出版社出版发行,版次为2002年1月第1版。这本书不是我自己买的,是一位朋友赠送的,赠书时间大约是在2002年的秋冬时节。当时因为从未听说过Python,也就没把这本书当回事儿,随手放在了书架上。

记不清第一次接触Python是哪一年了,只记得当时的Python版本是2.4。Py2.4版本推出时间是2004年11月,Py2.5版本推出时间是2006年9月,大致可以推算,我是从2006年开始接触Python的。那会儿,网上关于Python的资料可以说是凤毛麟角,书店里也很少有Python的图书售卖。直到2007年我才在北京西单书店买到了我的第2本Python图书——《Python网络编程基础》,也是一本译作。

凭着《Python 2.1 宝典》一书,我逐渐熟悉并喜欢上了Python这门编程语言。今天再次翻开这本书,重新审视它,依然被它宏大的结构所震撼,依然为龟叔(Guido van Rossum)的远见所折服。全书分为七大部分,共计38章,内容涵盖了基础语法、面向对象、控制台IO、文件操作、数据库、Socket通讯、html/xml数据解析、桌面程序设计、图像处理、多线程技术、数值计算、跨平台编程等各个领域。细读封底的介绍,通篇是至今依然流行的词汇,很难想象这是一本出版于17年前的计算机图书!
在这里插入图片描述
除了基础语法,《Python 2.1 宝典》教我学会了使用wxPython,让我了解了NumPy,更让我深入了解了互联网协议。可以说,我的Python知识体系几乎全部来自于这本书,《Python 2.1 宝典》堪称是我的圣经。

Python发展史

  • 1989年由荷兰人Guido van Rossum于1989年发明,第一个公开发行版发行于1991年
  • Python 1.0 - January 1994 增加了 lambda, map, filter and reduce
  • Python 2.0 - October 16, 2000 加入了内存回收机制,构成了现在Python语言框架的基础
  • Python 2.4 - November 30, 2004 同年目前最流行的WEB框架Django 诞生
  • Python 2.5 - September 19, 2006
  • Python 2.6 - October 1, 2008
  • Python 2.7 - July 3, 2010
  • Python 3.0 - December 3, 2008
  • Python 3.1 - June 27, 2009
  • Python 3.2 - February 20, 2011
  • Python 3.3 - September 29, 2012
  • Python 3.4 - March 16, 2014
  • Python 3.5 - September 13, 2015
  • Python 3.6 - December 23, 2016
  • Python 3.7 - 2018-06-27
  • Python 3.8 - 2019-10-14
  • Python 3.9 - 2020-10-05
  • 10
    点赞
  • 5
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论
Preface P ython is an object-oriented, interpreted programming language useful for a wide range of tasks, from small scripts to entire applications. It is freely avail- able in binary or source code form and can be used royalty-free on all major plat- forms including Windows, Macintosh, Linux, FreeBSD, and Solaris. Compared with most programming languages, Python is very easy to learn and is considered by many to be the language of choice for beginning programmers. Instead of outgrowing the language, however, experienced developers enjoy lower maintenance costs without missing out on any features found in other major lan- guages such as C++, Java, or Perl. Python is well known for its usefulness as a rapid application development tool, and we often hear of Python projects that finish in hours or days instead of the weeks or months that would have been required with traditional programming lan- guages. It boasts a rich, full-featured set of standard libraries as well as the ability to interface with libraries in other languages like C++. Despite being incredibly powerful and enabling very rapid application develop- ment, the real reason we love to use Python is that it’s just plain fun. Python is like a lever—with it, you can do some pretty heavy lifting with very little effort. It frees you from lots of annoying, mundane work, and before long you begin to wonder how you endured your pre-Python days. About This Book Although Python is a great first programming language, in this book we do assume that you already have some programming experience. The first section of the book introduces you to Python and tells you everything you need to know to get started. If you’re new to Python, then that section is definitely the place to start; otherwise, it serves as a useful language reference with many examples. We’ve worked hard to ensure that the book works well as a quick reference. Often the quickest way to understand a feature is to see it in use: Flip through the book’s pages and you’ll see that they are dripping with code examples.

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

天元浪子

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值