學習python第5版內含詳細講解python開發設計、python編程、Internet腳本等知識內容,是你學習Python必備書籍,喜歡的朋友快來IT貓撲下載吧!
python學習手冊(第5版)介紹
本書是學習Python編程語言的入門書籍。Python是一種很流行的開源編程語言,可以在各種領域中用于編寫獨立的程序和腳本。Python免費、可移植、功能強大,而且使用起來相當容易。來自軟件產業各個角落的程序員都已經發現,Python對于開發者效率和軟件質量的關注,這無論在大項目還是小項目中都是一個戰略性的優點。
無論你是編程初學者,還是專業開發人員,本書的目標是讓你快速掌握核心Python語言基礎。閱讀本書后,你會對Python有足夠的了解,能夠將其應用于所從事的領域中。
本書設計成一本教程,主要關注核心Python語言本身,而不是其特定的應用程序。因此,它作為一個兩卷本的合集中的第一本:
《Learning Python》,也就是這本書,介紹Python本身。
《Programming Python》,另外一本書,介紹在學習了Python之后可以用它來做什么。
也就是說,《Programming Python》這本基于應用的圖書選擇了本書所省略的話題,介紹了Python在Web、圖形用戶界面(GUI)和數據庫這樣的常用領域的作用。此外,《Python Pocket Reference》一書提供了本書所沒有的額外參考資料,可將它作為本書的補充。
劃之初就力求向讀者展示比眾多程序員初次學習這門語言的時候更深層次的話題。并且,本書基于一個帶有測試和練習的3天的Python培訓課程,所以可以作為該語言的一個自學教程。
python第5版目錄
1.A PythonQ&ASession?
? ? Why D0 People Use Python?
? ? Software Quality
? ? Developer Productivity
? ? Is Python a“Scripting Language”?
? ? OK.but What’S the Downside?
? ? Who Uses Python Today?
? ? What Can I Do with Python?
? ? Systems Programming
? ? GUIs
? ? Internet Scripting
? ? Component Integration
? ? Database Programming
? ? Rapid Prototyping
? ? Numeric and Scientific Programming
? ? And More:Gaming,Images,Data Mining,Robots,excel?
? ? How Is Python Developed and Supported?
? ? 0pen Source Tradeoffs
? ? What Are Python’S Technical Strengths?
? ? It’S Object—Oriented and Functional
? ? It’S Free
? ? It’S Portable
? ? It’S Powerful
? ? It’S Mixable
? ? It’S Relatively Easy to Use
? ? It's Relatively Easy tO Learn
? ? It’S Named After Monty Python
? ? How Does Python Stack Up to Language X?
? ? Chapter Summary
? ? Test Your Knowledge:Quiz
? ? Test Your Knowledge:Answers
?2.HowPython RunsPrograms?
? ? Introducing the Python Interpreter
? ? Program Execution
? ? The Programmer’S View
? ? Python’S View
? ? Execution Model Variations
? ? Python Implementation Alternatives
? ? Execution Optimization Tools
? ? Frozen Binaries
? ? Future Possibilities7
? ? Chapter Summary
? ? Test Your Knowledge:Quiz
? ? Test Your Knowledge:Answers
?3.HowYou Run Programs?
? ? The Interactive Prompt
? ? Starting an Interactive Session
? ? The System Path
? ? New Windows 0ptions in 3.3:PATH.launcher
? ? Where to Run:Code Directories
? ? What NOt tO Type:Prompts and Comments
? ? Running Code Interactively
? ? Why the Interactive Prompt?
? ? Usage Notes:The Interactive Prompt
? ? System Command Lines and Files
? ? AFirst Script
? ? Running Files with Command Lines
? ? Command.Line Usage Variations
? ? Usage Notes:Command Lines and Files
? ? Unix—Style Executable Scripts:#!
? ? Unix Script Basics
? ? The Unix env Lookup Trick
? ? The Python 3.3 Windows Launcher:#!Comes to Windows
? ? Clicking File Icons
? ? Icon—Click Basics
? ? Clicking Icons on Windows
? ? The input Trick on Windows
? ? Other Icon.Click Limitations
? ? Module Imports and Reloads
? ? Import and Reload Basics
? ? The Grander Module Story:Attributes
? ? Usage Notes:import and reload
? ? Using exec to Run Module Files
? ? The IDLE User Interface
? ? IDLE Startup Details
? ? IDLE Basic Usage
? ? IDLE Usability Features
? ? Advanced IDLE Tools
? ? Usage Notes:IDLE
? ? Other IDEs
? ? Other Launch Options
? ? Embedding Calls
? ? Frozen Binary Executables
? ? Text Editor Launch Options
? ? Still Other Launch 0ptions
? ? Future Possibilities?
? ? Which 0ption Should I Use?
? ? Chapter Summary
? ? Test Your Knowledge:Quiz
? ? Test Your Knowledge:Answers
? ? Test Your Knowledge:Part I Exercises
Part II.Types and Operations
Part III.Statements and Syntax
Part IV.Functions and Generators
Part V.Modules and Packages
Part VI.Classes and OOP
Part VII.Exceptions and Tools
Part VIII.Advanced Topics
Part IX.Appendixes





