Practical Python

Magnus Lie Hetland

  • 出版商: Apress
  • 出版日期: 2002-08-08
  • 售價: $1,720
  • 貴賓價: 9.5$1,634
  • 語言: 英文
  • 頁數: 644
  • 裝訂: Paperback
  • ISBN: 1590590066
  • ISBN-13: 9781590590065
  • 相關分類: Python
  • 海外代購書籍(需單獨結帳)

買這商品的人也買了...

相關主題

商品描述

Practical Python offers a highly useful guide to the Python programming language. In disarmingly readable prose, author Magnus Lie Hetland guides readers through those concepts of most importance to the budding Python developer. Following a succinct overview of the installation process, Hetland brings the reader up to speed regarding the general programming precepts common to every high-level language, including datatypes, conditionals and looping, abstractions, and modularity. Notably, Hetland takes great care to provide a thorough introduction to Python’s potentially confusing datatype offering, including lists, tuples, and dictionaries, providing numerous examples aimed towards familiarizing the reader with their subtle, yet important differences.

Primed with the language's foundational knowledge, readers are then introduced to Python’s file-handling, database, GUI, and string-handling capabilities. Additionally, readers are treated to an excellent review of Python’s object-oriented, functional, and exception-handling capabilities. All chapters are peppered with references to Python's useful built-in functions, which are done with the intention of demonstrating the considerable features offered by the default Python distribution.

Hetland devotes the second half of the book to project development, taking great care to choose a series of ten increasingly complex applications that are of timely and wide-ranging interest to burgeoning and expert developers alike. Project focus includes automated document conversion, newsgroup administration, graphical PDF document generation, remote document maintenance, the creation of a peer-to-peer system with XML-RPC, database integration, and GUI and game development.

Contents

Chapter 1: Instant Hacking:The Basics

Chapter 2: Lists and Tuples

Chapter 3: Working with Strings

Chapter 4: Dictionaries: When Indices Won’t Do

Chapter 5: Conditionals, Loops, and Some Other Statements

Chapter 6: Abstraction

Chapter 7: More Abstraction

Chapter 8: Exceptions

Chapter 9: Magic Methods, Properties, and Iterators

Chapter 10: Batteries Included

Chapter 11: Files and Stuff

Chapter 12: Graphical User Interfaces

Chapter 13: Playful Programming

Chapter 14: Project 1: Instant Markup

Chapter 15: Project 2: Painting a Pretty Picture

Chapter 16: Project 3: XML for All Occasions

Chapter 17: Project 4: In the News

Chapter 18: Project 5: A Virtual Tea Party

Chapter 19: Project 6: Remote Editing with CGI

Chapter 20: Project 7: Your Own Bulletin Board

Chapter 21: Project 8:File Sharing with XML-RPC

Chapter 22: Project 9: File Sharing II—Now with GUI!

Chapter 23: Project 10: Do-It-Yourself Arcade Game

Appendix A The Short Version

Appendix B Python Reference

Appendix C Online Resources

Index