Practical Python offers a highly useful guide to the Python programming language. In disarmingly readable prose, author Magnus Lie Hetland guides you through those concepts of most importance to the budding Python developer.
Following a succinct overview of the installation process, Hetland brings you 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 toward familiarizing you with their subtle, yet important differences.
Primed with the language's foundational knowledge, youll then be introduced to Pythons file-handling, database, graphical user interface, and string-handling capabilities. Additionally, Hetland offers an excellent review of Pythons object-oriented, functional, and exception-handling capabilities. All chapters are peppered with references to Python's useful built-in functions, which is 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.