Get Programming

Book description

Get Programming: Learn to code with Python introduces you to the world of writing computer programs without drowning you in confusing jargon or theory that make getting started harder than it should be. Filled with practical examples and step-by-step lessons using the easy-on-the-brain Python language, this book will get you programming in no time!

This book works perfectly alongside Ana Bell's liveVideo course Get Programming with Python in Motion, featuring more projects and skills for you to pick up with this great language!



About the Technology

Let's face it. The only way to learn computer programming is to do it. Whether you want to skill up for your next job interview or just get a few pet projects done, programming can be an amazing tool. This book is designed especially for beginners, helping them learn to program hands on, step by step, project by project. It's time to get programming!



About the Book

Get Programming: Learn to code with Python teaches you the basics of computer programming using the Python language. In this exercise-driven book, you'll be doing something on nearly every page as you work through 38 compact lessons and 7 engaging capstone projects. By exploring the crystal-clear illustrations, exercises that check your understanding as you go, and tips for what to try next, you'll start thinking like a programmer in no time.



What's Inside

  • Programming skills you can use in any language
  • Learn to code - no experience required
  • Learn Python, the language for beginners
  • Dozens of exercises and examples help you learn by doing


About the Reader

No prior programming experience needed.



About the Author

Ana Bell is an MIT lecturer and scientist who teaches the popular course, Introduction to Computer Science and Programming Using Python.



Quotes
Accessible and intuitive. After going through the many examples in the book, I felt much more confident in my Python programming skills.
- Nicole Kogan, MIT

A definitive resource for anyone wanting to grasp how to solve problems using Python.
- Vester Thacker, AIG Technologies

Very helpful in creating a solid foundation of generic programming principles.
- Prabhuti Prakash, Atos

Kick-starts programming concepts with Python-but useful to anyone getting started with programming.
- Sam Johnson, Intouch Solutions

An easy-to-follow intro to Python.
- David Moravec, Mainstream Technologies

Publisher resources

View/Submit Errata

Table of contents

  1. Copyright
  2. Brief Table of Contents
  3. Table of Contents
  4. Preface
  5. Acknowledgments
  6. About this Book
  7. About the author
  8. Unit 0. Learning how to program
    1. Lesson 1. Why should you learn how to program?
    2. Lesson 2. Basic principles of learning a programming language
  9. Unit 1. Variables, types, expressions, and statements
    1. Lesson 3. Introducing Python: a programming language
    2. Lesson 4. Variables and expressions: giving names and values to things
    3. Lesson 5. Object types and statements of code
    4. Lesson 6. Capstone project: your first Python program—convert hours to minutes
  10. Unit 2. Strings, tuples, and interacting with the user
    1. Lesson 7. Introducing string objects: sequences of characters
    2. Lesson 8. Advanced string operations
    3. Lesson 9. Simple error messages
    4. Lesson 10. Tuple objects: sequences of any kind of object
    5. Lesson 11. Interacting with the user
    6. Lesson 12. Capstone project: name mashup
  11. Unit 3. Making decisions in your programs
    1. Lesson 13. Introducing decisions in programs
    2. Lesson 14. Making more-complicated decisions
    3. Lesson 15. Capstone project: choose your own adventure
  12. Unit 4. Repeating tasks
    1. Lesson 16. Repeating tasks with loops
    2. Lesson 17. Customizing loops
    3. Lesson 18. Repeating tasks while conditions hold
    4. Lesson 19. Capstone project: Scrabble, Art Edition
  13. Unit 5. Organizing your code into reusable blocks
    1. Lesson 20. Building programs to last
    2. Lesson 21. Achieving modularity and abstraction with functions
    3. Lesson 22. Advanced operations with functions
    4. Lesson 23. Capstone project: analyze your friends
  14. Unit 6. Working with mutable data types
    1. Lesson 24. Mutable and immutable objects
    2. Lesson 25. Working with lists
    3. Lesson 26. Advanced operations with lists
    4. Lesson 27. Dictionaries as maps between objects
    5. Lesson 28. Aliasing and copying lists and dictionaries
    6. Lesson 29. Capstone project: document similarity
  15. Unit 7. Making your own object types by using object-oriented programming
    1. Lesson 30. Making your own object types
    2. Lesson 31. Creating a class for an object type
    3. Lesson 32. Working with your own object types
    4. Lesson 33. Customizing classes
    5. Lesson 34. Capstone project: card game
  16. Unit 8. Using libraries to enhance your programs
    1. Lesson 35. Useful libraries
    2. Lesson 36. Testing and debugging your programs
    3. Lesson 37. A library for graphical user interfaces
    4. Lesson 38. Capstone project: game of tag
  17. Appendix A. Answers to lesson exercises
  18. Appendix B. Python cheat sheet
  19. Appendix C. Interesting Python libraries
  20. Thinking like a programmer: big ideas
  21. Index
  22. List of Figures
  23. List of Tables
  24. List of Listings

Product information

  • Title: Get Programming
  • Author(s): Ana Bell
  • Release date: April 2018
  • Publisher(s): Manning Publications
  • ISBN: 9781617293788