David M. Beazley 早在1996年就開始使用Python編程。在洛斯阿莫斯國傢實驗室工作期間,他教會很多誌願者用Python編寫科學計算軟件。他創辦的Dabeaz 公司提供軟件開發、培訓和谘詢服務,專長於Python、Ruby、Perl等動態編程語言的實際應用。他是Python軟件基金會的會員。
Amazon.com Review
Every so often a book comes along that makes you ask yourself, "Gee, when was the last time I had my eyes checked?" David M. Beazley's Python: Essential Reference is just such a book. Condensing thousands of pages of Python online documentation into a compact 319-page softcover, Beazley and his editors used the old-college trick (often performed in reverse) of dickering with the font size to meet a putative page-limit requirement. The result is a truly condensed product fit for the occularly well-adjusted (nota bene).
Beazley's subject is Python, a full-featured, freely-redistributable, POSIX-compliant (platforms include Linux, Unix, Macintosh, and Windows) scripting language that is based on object-oriented design principles. As advertised, Beazley's source release (1.5.2) is available from an unfortunately slow server at www.python.org. The installation under Linux (Redhat 5.2) proceeded without incident.
Beazley holds true to his catalogic purpose: fully 230 pages are formatted as technical appendices and indices covering the standard litany: built-in function syntax, database features, OS-level interfaces, Internet interfaces, and compiling/profiling/debugging. All references are fully annotated and illustrated with example source code that runs from a couple of lines to a couple of pages. In lock step with competing scripting languages, Python is extensible and embeddable in C and C++, and with blitzkrieg efficiency, Beazley summarizes these crucial practical issues in the final 30 pages. Python users who are tired of chasing questions through hyperlinked online documents will benefit from the expansive random-access index.
Python the book captures the orderliness of Python the language. Beazley begins with an 86-page précis of Python in the fashion of Kernighan and Ritchie: too brief for a newbie tutorial but enough to propel old hands into a scripting language that aspires to the elegance of a compiled language.
Indeed, it is a byte-compiling language. The line bytecode=compile("some_python_script",'','exec')) creates 'bytecode' as a token executed by exec bytecode. But a five-minute investigation through Beazley's book does not describe how 'bytecode' can be written into a separate executable file. If writing the byte-compiled code to a file is not possible, Python suffers from the limitations of other scripting languages: the executable is the source and cannot be hidden from the user, at least not without some difficulty. Despite its extensibility, embeddability, and pleasing architecture, Python is like other scripting languages: appropriate for solving small nonproprietary problems.
Those familiar with more established scriptors like Perl may ask, "Why Python?" Unlike Perl, Python is a product of the fully object-oriented (OO) era, and its constructs reflect design principles that aspire beyond keystroke shortcuts of the succinct-but-often-arcane Perl. Python creator Guido van Rossum cleansed Perl's idiosyncracies and objectified basic data structure, data manipulations, and I/O. With Python, OO is so intrinsic that learning Python is equivalent to learning OO. The same cannot be said of Perl.
Unfortunately, comparisons with other languages are missing from Beazley's book. Van Rossum, in an embarrassingly self-serving foreword, preemptively asserts that we readers need "neither evangelizing nor proselytizing"--after all, we already own the book--but we do need galvanizing and we don't find it. Specifically, we need a response to the oft-repeated wisdom that new computer languages are only worth learning if they teach us to organize our thinking along new lines.
Scripting languages, however, are for quick and dirty projects: quick to write, easy to hack, and ultimately disposable. The essential tension created by van Rossum and friends is between the elegance of object-oriented principles and the utility of a quick-hacked script. Sadly, the tension remains unresolved in Beazley's reference. There is little to convince us that Python has earned its place in the firmament by changing our thinking. But Beazley has given us much to get us going if we have already taken the leap of faith. --Peter Leopold --This text refers to an out of print or unavailable edition of this title.
From Library Journal
Though Python is a relatively new programming language, it has quite a significant audience owing to its sensible syntax. An active user of Python since 1996, Beazley provides ample information on the fundamentals of versions 2.0 and 2.1, including syntax, functions, operators, classes, and libraries. This is first and foremost a reference, so he avoids lengthy discussions of Python's superiority. Peppered with good code samples and featuring a companion web site with more extensive pieces, this title should be on hand in larger libraries.
Copyright 2001 Reed Business Information, Inc.
發表於2024-06-11
Python Essential Reference 2024 pdf epub mobi 電子書 下載
頁碼32頁,電子書45頁,錶3-2,lens(s)應為len(s) 頁碼33頁,電子書46頁,錶3-4, 原文:s.pop([i]) 返迴元素i並從列錶中刪除它,如果省略i,則返迴列錶中最後一個元素 錶述有誤。 應為:s.pop([i]) 返迴下標為i的元素並從列錶中刪除它,如果省略i,則返迴列錶中最後一...
評分1:主從句關係混亂,主謂賓銜接關係混亂。 2:英語即使他們懂,他們也不會用很流暢的漢語邏輯反應到書麵上 3:英語其實他們不是特彆懂 4:漢語水平也很一般 5:對他們的學識水平強烈懷疑,技術思維很一般,沒有敏感度,否則書不會翻譯成這樣。 6:因為我們是中國人,需要漢語記...
評分推薦直接下載英文版閱讀,該版翻譯質量較差,會造成理解上的錯誤和不暢,翻譯者在很多地方都很明顯沒有明白原書想要錶達的意思。建議大傢不要浪費錢財在這種不負責任的書上。直接看原版吧。 謝俊、楊越、高偉,這幾個名字值得記住,太差瞭。 怪我買書的時候沒有細看,不過也...
評分第13章,第2節 copy copy The copy module provides functions for making shallow and deep copies of compound objects, including lists, tuples, dictionaries, and instances of user-defined objects. copy(x) Makes a shallow copy of x by creating a new compound ob...
評分把一切原因都歸到書上麵, 給你們深深的鄙視 這書我覺得就應該是床頭書, 字典一般的存在, 哪裏不會就翻來看看 140字140字140字140字140字140字140字140字140字140字140字140字140字140字140字140字140字140字140字140字140字140字140字140字140字140字140字140字140字140字140字...
圖書標籤: Python programming 編程 計算機 編程語言 python 開發技術 程序開發
學過一門OO語言的直接翻這本就ok
評分包含語法、係統庫、嵌入與擴展的全麵內容,與官方文檔範圍和敘事結構挺像,不錯的綫下手冊。基於Python2.6和3.0,內容準確而豐富,提及瞭MRO的C3算法、各類Encoding的詳細區彆等等。
評分不錯的參考書。從基本語法到標準庫都有,而且有實用例子。
評分很詳細,可以當字典查
評分Very clear
Python Essential Reference 2024 pdf epub mobi 電子書 下載