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.
What people are saying - Write a review
LibraryThing ReviewUser Review - cjtoomey - LibraryThing
A great introduction to the language. Through yet concise, covered a lot of material, and generally provided a great introduction to the language (if not a simple reference manual) Read full review
LibraryThing ReviewUser Review - iamgame - LibraryThing
Excellent book that teaches almost everything there is to get one started in the wonderful world of Python, mostly in a humorous way and sometimes in a serious way. Magnus has to be one of the best computer book writers there is, and an amazing & friendly teacher. Read full review