Book description
If you want to learn how to program, working with Python is an excellent way to start. This hands-on guide takes you through the language one step at a time, beginning with basic programming concepts before moving on to functions, recursion, data structures, and object-oriented design. Through exercises in each chapter, you’ll try out programming concepts as you learn them.
Table of contents
- Think Python
- SPECIAL OFFER: Upgrade this ebook with O’Reilly
- Preface
- 1. The Way of the Program
- 2. Variables, Expressions, and Statements
-
3. Functions
- Function Calls
- Type Conversion Functions
- Math Functions
- Composition
- Adding New Functions
- Definitions and Uses
- Flow of Execution
- Parameters and Arguments
- Variables and Parameters Are Local
- Stack Diagrams
- Fruitful Functions and Void Functions
- Why Functions?
- Importing with from
- Debugging
- Glossary
- Exercises
- 4. Case Study: Interface Design
- 5. Conditionals and Recursion
- 6. Fruitful Functions
- 7. Iteration
- 8. Strings
- 9. Case Study: Word Play
- 10. Lists
- 11. Dictionaries
- 12. Tuples
- 13. Case Study: Data Structure Selection
- 14. Files
- 15. Classes and Objects
- 16. Classes and Functions
- 17. Classes and Methods
- 18. Inheritance
- 19. Case Study: Tkinter
- A. Debugging
- B. Analysis of Algorithms
- C. Lumpy
- Index
- About the Author
- Colophon
- SPECIAL OFFER: Upgrade this ebook with O’Reilly
- Copyright
Product information
- Title: Think Python
- Author(s):
- Release date: August 2012
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781449330729
You might also like
book
Think Python, 2nd Edition
If you want to learn how to program, working with Python is an excellent way to …
book
Think Python, 2nd Edition
Wenn Sie programmieren lernen wollen, eignet sich Python hervorragend als Einstieg. Dieses Praxisbuch führt Sie Schritt …
book
Robust Python
Does it seem like your Python projects are getting bigger and bigger? Are you feeling the …
book
Think Python, 3rd Edition
Python is an excellent way to get started in programming, and this clear, concise guide walks …