Book description
Python is an excellent way to get started in programming, and this clear, concise guide walks you through Python a step at a time—beginning with basic programming concepts before moving on to functions, data structures, and object-oriented design. This revised third edition reflects the growing role of large language models (LLMs) in programming and includes exercises on effective LLM prompts, testing code, and debugging skills.
With this popular hands-on guide at your side, you'll get:
- A grounding in the syntax and semantics of the Python language
- A clear definition of each programming concept, with emphasis on clear vocabulary
- How to work with variables, statements, functions, and data structures in a logical progression
- Techniques for reading and writing files and databases
- A solid understanding of objects, methods, and object-oriented programming
- Debugging strategies for syntax, runtime, and semantic errors
- An introduction to recursion, interface design, data structures, and basic algorithms
- How to use LLMs—including effective prompts, testing code, and debugging
- And more
Publisher resources
Table of contents
- Preface
- 1. Programming as a Way of Thinking
- 2. Variables and Statements
- 3. Functions
- 4. Functions and Interfaces
- 5. Conditionals and Recursion
- 6. Return Values
- 7. Iteration and Search
- 8. Strings and Regular Expressions
- 9. Lists
- 10. Dictionaries
- 11. Tuples
- 12. Text Analysis and Generation
- 13. Files and Databases
- 14. Classes and Functions
- 15. Classes and Methods
- 16. Classes and Objects
- 17. Inheritance
- 18. Python Extras
- 19. Final Thoughts
- Index
- About the Author
Product information
- Title: Think Python, 3rd Edition
- Author(s):
- Release date: May 2024
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781098155438
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
Head First Python, 3rd Edition
What will you learn from this book? Want to learn the Python language without slogging your …
book
Head First Python, 2nd Edition
Want to learn the Python language without slogging your way through how-to manuals? With Head First …
book
Fluent Python, 2nd Edition
Don't waste time bending Python to fit patterns you've learned in other languages. Python's simplicity lets …