Python編程 第4版 影印版 上下冊

出版時間:2011-5  出版社:東南大學(xué)出版社  作者:魯茲  
Tag標(biāo)簽:無  

內(nèi)容概要

本書是由Mark
Lutz編寫的《Python編程(影印版第4版)》。《Python編程(影印版第4版)》的內(nèi)容包括:
Python快速入門:搭建一個簡單的例子,包括數(shù)據(jù)表示、面向?qū)ο缶幊?、對象持久化、GUI和網(wǎng)站基礎(chǔ);系統(tǒng)編程:針對命令行腳本編寫、處理文件和文件夾、并行運行程序等需求探索系統(tǒng)接口工具和技術(shù);
GUI編程:學(xué)習(xí)使用Python tkinter組件庫來創(chuàng)建完整的用戶界面;
互聯(lián)網(wǎng)編程:訪問客戶端網(wǎng)絡(luò)協(xié)議和電子郵件工具,使用CGI腳本,以及學(xué)習(xí)網(wǎng)站搭建技術(shù);更多應(yīng)用Python的地方:實現(xiàn)數(shù)據(jù)結(jié)構(gòu),分析基于文本的信息,訪問數(shù)據(jù)庫,以及擴(kuò)展和嵌入Python。

作者簡介

Mark
Lutz是Python培訓(xùn)的世界領(lǐng)先者,他是最早和最暢銷Python著作的作者,從1992年起就是Python社區(qū)的先鋒人物。Mark有25年的軟件開發(fā)經(jīng)驗而且是《Python編程》前一版的作者,也是O’Reilly的《Learning
Python and Python Pocket Reference》的作者。

書籍目錄

Preface
Part I. The Beginning
1. A Sneak Preview
Part II. System Programming
2. System Tools
3. Script Execution Context
4. File and Directory Tools
5. Parallel System Tools
6. Complete System Programs
Part III. GUI Programming
7. Graphical User Interfaces
8. A tkinter Tour, Part
9. A tkinter Tour, Part 2
10. GUI Coding Techniques
11. Complete GUI Programs
Part IV. Internet Programming
12. Network Scripting
13. Client-Side Scripting
14. The PyMailGUI Client
15. Server-Side Scripting
16. The PyMailCGI Server
Part V. Tools and Techniques
17. Databases and Persistence
18. Data Structures
19. Text and Language
20. Python/C Integration
Part VI. The End
21. Conclusion: Python and the Development Cycle
Index

章節(jié)摘錄

版權(quán)頁:   插圖:   The "browse" button in Figure 10-7 pops up a file selection dialog just as the packdlg form did.Instead of an OK button,this dialog binds the Enter key-press event to kill the window and end the modalwait state pause; on submission, the name of the packed file is passed to the main function of the unpacker script shown earlier to perform the actual file scan process. Room forimprovement All of this works as advertised-by making command-line tools available in graphical form like this, they become much more attractive to users accustomed to the GUI way of life.We've effectively added a simple GUI front-end to command-line tools.Still, two aspects of this design seem prime for improvement. First, both of the input dialogs use common code to build the rows of their input forms, but it's tailored to this specific use case; we might be able to simplify the dialogs further by importing a more generic form-builder module instead.We met general form builder code in Chapters 8 and 9, and we'll meet more later-see the form.py module in Chapter 12 for pointers on further genericizing form construction. Second, at the point where the user submits input data in either form dialog,we've lost the GUI trail-the GUI is blocked, and messages are routed back to the console.The GUI is technically blocked and will not update itselfwhile the pack and unpack utilities run; although these operations are fast enough for my files as to be negligible,we would probably want to spawn these calls off in threads for very large files to keep the main GUI thread active (more on threads later in this chapter). The console issue is more blatant: packer and unpacker messages still show up in the stdout console window, not in the GUI (all the filenames here include full directory paths if you select them with the GUI's Browse buttons, courtesy of the standard Open dialog): C:\...\PP4E\Gui\5hellGui\temp> python ..\mytools.py list PP4E saolledtext list test Packer: packed.all ('spam.txt', 'ham.txt', 'eggs.txt') packing: spam.txt packing: ham.txt packing: eggs.txt Unpacker: packed.all creating: spam.txt creating: ham.txt creating: eggs.txt.

編輯推薦

《Python編程(影印版)(第4版)(套裝共2冊)》針對該語言的主要應(yīng)用領(lǐng)域——系統(tǒng)管理、GUI和Web——做了深入講解,并且探索了它在數(shù)據(jù)庫、網(wǎng)絡(luò)、前端腳本撰寫層、文本處理和更多方面的使用。通過重點關(guān)注常用工具和庫,你將會對Python在實際現(xiàn)實世界里的編程有更深的理解。你將通過一種清晰和簡潔的方式——講解大量正確用法和常見慣例的例子——學(xué)會語言的語法和編程技巧?!禤ython編程(影印版)(第4版)(套裝共2冊)》針對3.x版本做了完全的更新,它探討了Python如何成為軟件開發(fā)工具,并且特別為此設(shè)計了很多代碼示例。

圖書封面

圖書標(biāo)簽Tags

評論、評分、閱讀與下載


    Python編程 第4版 影印版 上下冊 PDF格式下載


用戶評論 (總計39條)

 
 

  •   python編程終于買到了,都一年了。。。粗略地掃了一眼,內(nèi)容不錯。紙質(zhì)一般。
  •   因為讀了作者的Learning Python才去買的這本書,本來打算買本翻譯過來的,找不到,只好去啃原版了。書有點厚,但內(nèi)容非常翔實,可能作者是培訓(xùn)教師的原因,知識點講的比較到位,當(dāng)然有時也顯得有點啰嗦,呵呵。如果想學(xué)習(xí)Python,作者的這兩套書值得選擇
  •   之前學(xué)完了《learning python》,所以買了這本書想學(xué)學(xué)該如何使用它,建議在看這本書之前看看前一本。
  •   Progamming Python和Python cookbook,leaning python這3本書我都買了,leaning python這邊書無意義,作者廢話太多,無實質(zhì)內(nèi)容,推薦前2本書籍(Progamming Python和Python cookbook)。對于新老程序員都有幫助。python cookbook有很多設(shè)計模式,基本都是來源于jave設(shè)計模式,有參考價,ptyhon對于接觸過java或者C#語言人來說,語言有些詭異,如果你有java或者其他語言背景,學(xué)習(xí)這2本身,再做幾個實際項目,基本就能很好掌握Python專門語言。
  •   全英文版,不過并不難懂,主要是內(nèi)容很多,廢話也不少。但確實很全面,重要的地方都講到了。這本書面向的是python 3的版本。
  •   現(xiàn)在很多科學(xué)計算程序都在往Python靠近,因為Python語言的繼承性非常好,如果某科學(xué)計算程序有多個developers,那么Python語言會使得改程序的更新變得非常非常快。我聽到有人說,Python是明日科學(xué)計算軟件的首選語言。

    If you've mastered Python's fundamentals, you're ready to start using it to get real work done. Programming Python will show you how, with in-depth tutorials on the language's primary application domains: system administration, GUIs, and the Web. You'll also explore how Python is used in databases, ***working, front-end scripting layers, text processing, and more. This book focuses on ***monly used tools and libraries to give you a ***prehensive understanding of Python’s many roles in practical, real-world programming.

    You'll learn language syntax and programming techniques in a clear and concise manner, with lots of examples that illustrate both correct usage and ***mon idioms. ***pletely updated for version 3.x, Programming Python also delves into the language as a software development tool, with many code examples scaled specifically for that purpose.
  •   學(xué)習(xí)Python時值得購買的書
  •   因為喜歡Python、喜歡英文原版,就買了。

    印刷質(zhì)量很好。

    讀完后再來評價。
  •   書的質(zhì)量很好!是影印版,但和原版沒有太大區(qū)別,而且比在美國(亞馬遜美國網(wǎng)站)買便宜很多。送貨也算快!整體感覺不錯!
  •   兩本很厚的書,英文版。個人覺得看看英文第一手的資料是很不錯的一件事,基本都是專業(yè)英語,即提高專業(yè)素養(yǎng),還可以提高英語水平。
    同樣,不喜歡看“磚頭”書的朋友,謹(jǐn)慎選擇。確實很厚
  •   書質(zhì)量很好,但是由于下雨延遲了一天,不過還是給個滿分。
  •   喜歡原版的,讀起來很棒
  •   書很厚啊,慢慢快,發(fā)貨速度很不錯,第二天就收到了!
  •   正在看,比較適合我。
  •   很好很好,就是太厚太沉呵呵
  •   廢話多點,但是講的還是很清楚的。
  •   書很厚啊,加在一起就是一本大辭典啊,還是英文的,我什么時候能看完呢,還是用到什么再學(xué)什么吧,當(dāng)工具書用挺合適
  •   其實還是讀英文版的好理解,中文翻譯的,有些句子描述的不是特別清楚
  •   不錯啊,老大老老大推薦看得
  •   作者對語言的方方面面講述的很詳細(xì),而且通俗易懂,不愧是一個牛人,不過有很多冗余的篇幅,可能是作者故意保持一定的冗余度,讓讀者可以不必查找前面章節(jié)就可以回復(fù)前面的知識點。此書雖然說對讀者沒多少要求,但是如果沒有C等語言的背景,有些內(nèi)容還是不容易弄懂的。本想給4星半,但沒有半個刻度,所以給4星。
  •   希望是預(yù)期的,網(wǎng)上評價不錯,這一年的學(xué)習(xí)資料都有了
  •   拿來可以當(dāng)枕頭了,,英文版,看需要時間
  •   先讀吧, 讀了才有更好的方法
  •   只收到上冊,沒收到下冊啊,申請換貨一直沒人想著解決問題。什么情況啊,難道讓我就這樣算了,不能吧!
  •   想退貨,又不支持上門取貨,糾結(jié)中,一百多大洋呢
  •   大而且全。確實寫的拖沓了些。不過多次重復(fù)是學(xué)習(xí)的秘訣,建議看了code再看文字。
  •   要先把 Learning Python 看了才能來看這本書。別先買這本
  •   不得不說這真的是一本好書,作者寫得很詳細(xì),把很多Python的特點都寫了出來,適合慢慢研讀,必有大收獲?。。。?/li>
  •   內(nèi)容很詳細(xì),需要有一定英文基礎(chǔ)。整體很好。
  •   國外要學(xué),國內(nèi)基本用不上!
  •   剛收到書 除了紙張不昨的 其它都可以
  •   經(jīng)典啊,寫得很細(xì)膩,非常好!我喜歡!
  •   沒有主次,一團(tuán)亂麻,羅里羅嗦。
  •   經(jīng)典總是經(jīng)典。
  •   抽空再看.
  •   python編程必讀
  •   別人推薦的,買來學(xué)習(xí)
  •   詞典一樣的存在,好厚
  •   書很好,比那些太多的基礎(chǔ)教程好多了
 

250萬本中文圖書簡介、評論、評分,PDF格式免費下載。 第一圖書網(wǎng) 手機(jī)版

京ICP備13047387號-7