Object-oriented programming in Python /
Saved in:
Author / Creator: | Goldwasser, Michael H., 1969- |
---|---|
Imprint: | Upper Saddle River, N.J. : Pearson Prentice Hall, c2008. |
Description: | xxii, 666 p. : ill. ; 24 cm. |
Language: | English |
Subject: | |
Format: | Print Book |
URL for this record: | http://pi.lib.uchicago.edu/1001/cat/bib/7136284 |
Table of Contents:
- Preface
- I. Fundamental Topics
- 1. Cornerstones of Computing
- 1.1. Data and Types
- 1.2. Operations, Functions, and Algorithms
- 1.3. High-Level Programming Languages
- 1.4. The Object-Oriented Paradigm
- 1.5. Design and Modeling
- 1.6. Chapter Review
- 2. Getting Started in Python
- 2.1. The Python Interpreter
- 2.2. Using Objects: the list Class
- 2.3. Other Sequence Classes: str and tuple
- 2.4. Numeric Types: int, long, and float
- 2.5. Type Conversions
- 2.6. Calling Functions
- 2.7. Python Modules
- 2.8. Expressions
- 2.9. Using a File for Source Code
- 2.10. Case Study: Strings and Lists
- 2.11. Chapter Review
- 3. Getting Started with Graphics
- 3.1. The Canvas
- 3.2. Drawable Objects
- 3.3. Rotating, Scaling, and Flipping
- 3.4. Cloning
- 3.5. Case Study: Smiley Face
- 3.6. Layers
- 3.7. Animation
- 3.8. Graphical User Interfaces
- 3.9. Case Study: Flying Arrows
- 3.10. Chapter Review
- 4. Elementary Control Structures
- 4.1. For Loops
- 4.2. Case Study: DNA to RNA Transcription
- 4.3. Case Study: Drawing a Pyramid
- 4.4. Conditional Statements
- 4.5. List Comprehension
- 4.6. Chapter Review
- 5. Additional Control Structures
- 5.1. While Loops
- 5.2. Functions
- 5.3. Avoiding Duplicate Code
- 5.4. Case Study: Computing the Square Root
- 5.5. Error Checking and Exceptions
- 5.6. Case Study: Simulating a Chain under the Force of Gravity
- 5.7. Chapter Review
- 6. Defining Our Own Classes
- 6.1. A Simple Point Class
- 6.2. A Robust Point Class
- 6.3. A Television Class
- 6.4. A Fraction Class
- 6.5. Advanced Lessons
- 6.6. Chapter Review
- 7. Good Software Practices
- 7.1. Overview of Mastermind