Create simple, easy programs in the popular Python language
Beginning Programming with Python For Dummies is the trusted way to learn the foundations of programming using the Python programming language. Python is one of the top-ranked languages, and there’s no better way to get started in computer programming than this friendly guide. You’ll learn the basics of coding and the process of creating simple, fun programs right away. This updated edition features new chapters, including coverage of Google Colab, plus expanded information on functions and objects, and new examples and graphics that are relevant to today’s beginning coders. Dummies helps you discover the wealth of things you can achieve with Python.
- Employ an online coding environment to avoid installation woes and code anywhere, any time
- Learn the basics of programming using the popular Python language
- Create easy, fun projects to show off your new coding chops
- Fix errors in your code and use Python with external data sets
Beginning Programming with Python For Dummies will get new programmers started—the easy way.
Introduction 1
Part 1: Getting Started with Python 7
Chapter 1: Talking to Your Computer 9
Chapter 2: Working with Google Colab 23
Chapter 3: Interacting with Python 41
Chapter 4: Writing Your First Application 57
Chapter 5: Performing Magic 79
Part 2: Talking the Talk 93
Chapter 6: Storing and Modifying Information 95
Chapter 7: Managing Information 107
Chapter 8: Making Decisions 127
Chapter 9: Performing Repetitive Tasks 143
Chapter 10: Dealing with Errors 157
Part 3: Performing Common Tasks 187
Chapter 11: Interacting with Packages 189
Chapter 12: Working with Strings 215
Chapter 13: Managing Lists 239
Chapter 14: Collecting All Sorts of Data 257
Chapter 15: Creating and Using Classes 279
Part 4: Performing Advanced Tasks 301
Chapter 16: Storing Data in Files 303
Chapter 17: Sending an Email 321
Part 5: The Part of Tens 337
Chapter 18: Ten Amazing Programming Resources 339
Chapter 19: Ten Ways to Make a Living with Python 349
Chapter 20: Ten Tools That Enhance Your Python Experience 357
Chapter 21: Ten (Plus) Libraries You Need to Know About 369
Index 379
Take the bite out of learning Python®
Python® is the most-used programming language in the world, and this update keeps you current with the latest changes. But Python offers so much more than serving as a language for people who develop computer programs for a living. For example, if you need to work with a Web service, Python is a great choice. This book can quickly get you up and running performing basic tasks with Python. Emphasizing a code-anywhere approach, the book also shows you how to work with tools like Google Colab to help you quickly learn how to perform useful tasks at your job—even if you’re not a programmer!
Inside…
- Basic programming in Python
- Setting up your workflow
- Storing and managing data
- Automating repetitive tasks
- Fixing errors in your code
- Advanced tasks like emailing
- Updated coding resources
- Important Python libraries
Produktdetaljer
Biografisk notat
John Mueller is an experienced technology writer with more than 100 titles to his name. He has experience with networking, AI, data, and programming. He is the author of the previous editions of Beginning Programming with Python For Dummies and many other For Dummies titles.