Learning Python

Learning Python

by Mark Lutz

NOOK Book(eBook)

$17.99 $31.99 Save 44% Current price is $17.99, Original price is $31.99. You Save 44%.
View All Available Formats & Editions
Available on Compatible NOOK Devices and the free NOOK Apps.
Want a NOOK ? Explore Now

Overview

Learning Python by Mark Lutz

Portable, powerful, and a breeze to use, Python is ideal for both standalone programs and scripting applications. 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. Once you finish, you will know enough about the language to use it in any application domain you choose.

Learning Python is based on material from author Mark Lutz's popular training courses, which he's taught over the past decade. Each chapter is a self-contained lesson that helps you thoroughly understand a key component of Python before you continue. Along with plenty of annotated examples, illustrations, and chapter summaries, every chapter also contains Brain Builder, a unique section with practical exercises and review quizzes that let you 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 type 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


  • Exceptions and Tools -- exception handling model and statements, plus a look at development tools for writing larger programs
Learning Python gives you a deep and complete understanding of the language that will help you comprehend any application-level examples of Python that you later encounter. If you're ready to discover what Google and YouTube see in Python, this book is the best way to get started.

Product Details

ISBN-13: 9780596554491
Publisher: O'Reilly Media, Incorporated
Publication date: 10/22/2007
Sold by: Barnes & Noble
Format: NOOK Book
Pages: 752
Sales rank: 160,503
File size: 7 MB

About the Author


Mark Lutz is a software developer and a Python writer and trainer. He is the author of Programming Python and Python Desktop Reference, both published by O'Reilly & Associates. Mark has programmed a variety of Python systems, teaches courses about Python, and has been involved with the Python community since 1992.

David Ascher is a hybrid scientist/software engineer/trainer. By day, he is a vision scientist; additionally, he spends a fair bit of his free time learning about computer science and teaching Python.

Table of Contents

Preface
I. The Core Language
1. Getting Started
     Why Python?
     How to Run Python Programs
     A First Look at Module Files
     Python Configuration Details
     Summary
     Exercises

2. Types and Operators
     Python Program Structure
     Why Use Built-in Types?
     Numbers
     Strings
     Lists
     Dictionaries
     Tuples
     Files
     General Object Properties
     Built-in Type Gotchas
     Summary
     Exercises

3. Basic Statements
     Assignment
     Expressions
     Print
     if Tests
     while Loops
     for Loops
     Common Coding Gotchas
     Summary
     Exercises

4. Functions
     Why Use Functions?
     Function Basics
     Scope Rules in Functions
     Argument Passing
     Odds and Ends
     Function Gotchas
     Summary
     Exercises

5. Modules
     Why Use Modules?
     Module Basics
     Module Files Are Namespaces
     Import Model
      Reloading Modules
     Odds and Ends
     Module Gotchas
     Summary
     Exercises

6. Classes
     Why Use Classes?
     Class Basics
     Using the Class Statement
     Using Class Methods
     Inheritance Searches Namespace Trees
     Operator Overloading in Classes
     Namespace Rules: The Whole Story
     Designing with Classes
     Odds and Ends
     Class Gotchas
     Summary
     Exercises

7. Exceptions
     Why Use Exceptions?
     Exception Basics
     Exception Idioms
     Exception Catching Modes
     Odds and Ends
     Exception Gotchas
     Summary
     Exercises

II. The Outer Layers

8. Built-in Tools
     Built-in Functions
     Library Modules
     Exercises

9. Common Tasks in Python
     Data Structure Manipulations
     Manipulating Files
     Manipulating Programs
     Internet-Related Activities
     Bigger Examples
     Exercises

10. Frameworks and Applications
     An Automated Complaint System
     Interfacing with COM: Cheap Public Relations
     A Tkinter-Based GUI Editor for Managing Form Data
     Design Considerations
     JPython: The Felicitous Union of Python and Java
     Other Frameworks and Applications
     Exercises

III. Appendixes

A. Python Resources

B. Platform-Specific Topics

C. Solutions to Exercises

INDEX:

Customer Reviews

Most Helpful Customer Reviews

See All Customer Reviews

Learning Python: Powerful Object-Oriented Programming 5 out of 5 based on 0 ratings. 1 reviews.
Anonymous More than 1 year ago