Learning Python

Learning Python

3.9 (1,919 ratings by Goodreads)
By (author) 

List price: US$55.00

Currently unavailable

Add to wishlist

AbeBooks may have this title (opens in new window).

Try AbeBooks


With this hands-on book, you can master the fundamentals of the core Python language quickly and efficiently, whether you're new to programming or just new to Python. Updated for version 3.0 of the language, the fourth edition of "Learning Python" is a self-paced tutorial with material derived from author Mark Lutz's popular Python training courses. Each chapter is a self-contained lesson that helps you thoroughly understand a key component of Python. A unique Test Your Knowledge section at the end of the chapter provides practical exercises and review quizzes so you can practice new skills and test your understanding as you go. This book covers: Types and Operations - Python's major built-in object types in depth: numbers, lists, dictionaries, and more; Statements and Syntax - the code you use to create and process objects in Python, along with Python's general syntax model; Functions - Python's basic procedural tool for structuring and reusing code; Modules - packages of statements, functions, and other tools organized into larger components; Classes and OOP - Python's optional object-oriented programming tool for structuring code for customization and reuse; and, Exceptions and Tools - exception-handling model and statements, plus a look at development tools for writing larger programs. Using annotated examples and illustrations, "Learning Python" gives you a complete understanding of the language that will help you comprehend any application-level examples of Python that you may encounter. If you're ready to discover what Google and YouTube see in Python, this book is the best way to get started.show more

Product details

  • Paperback | 1212 pages
  • 187.96 x 248.92 x 48.26mm | 1,542.21g
  • O'Reilly Media, Inc, USA
  • Sebastopol, United States
  • English
  • Revised
  • 4th Revised edition
  • w. figs.
  • 0596158068
  • 9780596158064
  • 78,091

About Mark Lutz

Mark Lutz is the world leader in Python training, the author of Python's earliest and best-selling texts, and a pioneering figure in the Python community since 1992. He is also the author of O'Reilly's Programming Python and Python Pocket Reference, and co-author of Learning Python (all in 3rd Editions). Mark can be reached on the web at www.rmi.net/~lutz.show more

Review quote

"Sehr umfangreiches Buch. Umfasst neben den Standardthemen auch die Besonderheiten, die mit Python 2.6 und 3.0 in die Sprache Einzug halten. Neben einfachen Beispielen liefert der Autor auch komplexe Programme, mit denen er die Techniken erläutert." - linuxuser, Juni 2010show more

Table of contents

From the contents: Preface Part I. Getting Started 1. A Python Q&A Session Why Do 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 Gaming, Images, AI, XML, Robots, and More What Are Python's Technical Strengths? It's Object Oriented It's Free It's Portable It's Powerful It's Mixable It's Easy to Use It's Easy to Learn It's Named After Monty Python How Does Python Stack Up to Language X? Chapter Summary Brain Builder 20 Chapter Quiz 20 Quiz Answers 2. How Python Runs Programs Introducing the Python Interpreter Program Execution The Programmer's View Python's View Byte code compilation The Python Virtual Machine (PVM) Performance implications Development implications Execution Model Variations Python Implementation Alternatives CPython Jython IronPython Execution Optimization Tools The Psyco just-in-time compiler The Shedskin Csharp translator Frozen Binaries Future Possibilities? Chapter Summary Brain Builder 33 Chapter Quiz 33 Quiz Answers 3. How You Run Programs Interactive Coding Using the Interactive Prompt System Command Lines and Files Using Command Lines and Files Unix Executable Scripts Clicking File Icons Clicking Icons on Windows The raw_input Trick Other Icon-Click Limitations Module Imports and Reloads The Grander Module Story: Attributes Modules and namespaces import and reload Usage Notes The IDLE User Interface IDLE Basics Using IDLE Advanced IDLE Tools Other IDEs Embedding Calls Frozen Binary Executables Text Editor Launch Options Other Launch Options Future Possibilities? Which Option Should I Use? Chapter Summary Brain Builder 59 Chapter Quiz 59 Quiz Answers Brain Builder: Part I Exercises 61 Part II. Types and Operations 4. Introducing Python Object Types Why Use Built-in Types? Python's Core Data Types Numbers Strings Sequence Operations Immutability Type-Specific Methods Getting Help Other Ways to Code Strings Pattern Matching Lists Sequence Operations Type-Specific Operations Bounds Checking Nesting List Comprehensions Dictionaries Mapping Operations Nesting Revisited Sorting Keys: for Loops Iteration and Optimization Missing Keys: if Tests Tuples Why Tuples? Files Other File-Like Tools Other Core Types How to Break Your Code's Flexibility User-Defined Classes And Everything Else Chapter Summaryshow more

Rating details

1,919 ratings
3.9 out of 5 stars
5 29% (548)
4 41% (783)
3 24% (470)
2 5% (89)
1 2% (29)

Our customer reviews

This book include all what you have to learn about python. It cover also the difference between python 2.6 and 3.0 with many many examples. I think that this book is a must for every python developer. Nothing is left behind in more than 1100 pages!show more
by Karim Gorjux
Book ratings by Goodreads
Goodreads is the world's largest site for readers with over 50 million reviews. We're featuring millions of their reader ratings on our book pages to help you find your new favourite book. Close X