Description
This is a special edition of an established title widely used by colleges and universities throughout the world. Pearson published this exclusive edition for the benefit of students outside the United States and Canada. If you purchased this book within the United States or Canada, you should be aware that it has been imported without the approval of the Publisher or Author.
Ideal for an introductory programming course or a programming logic and design course, Starting Out with Python by Tony Gaddis helps students understand concepts and acquire problem-solving skills, without assuming any previous programming experience. The fifth edition retains the clear, friendly, and easy-to-understand writing that is the hallmark of the Starting Out With series.
"In the Spotlight" case studies in each chapter provide detailed analysis of problems and show students how to solve these problems step by step. The book also presents example programs and programming exercises that are concise, practical, and designed to solidify students' know-how.
New! A chapter on database programming introduces students to Structured Query Language (SQL) and Python database programming with SQLite.
New! Relevant chapters have been updated with list, dictionary, and set comprehensions.
Many new GUI programming topics have been introduced in Chapter 13, including internal and external padding, Listbox widgets, and scrollbars.
Chapter 5 examines several function topics in greater detail. For instance, a discussion on the pass keyword has been added, and an expanded discussion on the value None has been presented. This edition also adopts the standard practice of conditionally executing the main function.
String topics such as f-strings, string tokens, and string concatenation have been added and elaborated on.
Available separately for purchase is MyLab Programming for Starting Out with Python, the teaching and learning platform that empowers instructors to personalize learning for every student. When combined with Pearson's trusted educational content, this optional suite helps deliver the desired learning outcomes.
Table of Contents
1. Introduction to Computers and Programming
2. Input, Processing, and Output
3. Decision Structures and Boolean Logic
4. Repetition Structures
5. Functions
6. Files and Exceptions
7. Lists and Tuples
8. More About Strings
9. Dictionaries and Sets
10. Classes and Object-Oriented Programming
11. Inheritance
12. Recursion
13. GUI Programming
14. Database Programming
Appendix A. Installing Python
Appendix B. Introduction to IDLE
Appendix C. The ASCII Character Set
Appendix D. Predefined Named Colors
Appendix E. More About the Import Statement
Appendix F. Installing Modules with the Pip Utility
Appendix G. Answers to Checkpoints