• Python Coding - One Year Later

  • A Treasure Trove of Practical and Simple Examples
  • By: Cathy Young
  • Narrated by: Virtual Voice
  • Length: 10 hrs and 20 mins

Access a growing selection of included Audible Originals, audiobooks, and podcasts.
You will get an email reminder before your trial ends.
Audible Plus auto-renews for $7.95/mo after 30 days. Upgrade or cancel anytime.
Python Coding - One Year Later  By  cover art

Python Coding - One Year Later

By: Cathy Young
Narrated by: Virtual Voice
Try for $0.00

$7.95 a month after 30 days. Cancel anytime.

Buy for $3.99

Buy for $3.99

Pay using card ending in
By confirming your purchase, you agree to Audible's Conditions of Use and Amazon's Privacy Notice. Taxes where applicable.
Background images

This title uses virtual voice narration

Virtual voice is computer-generated narration for audiobooks

Publisher's summary

The primary goal of this book is to learn the simple basics of debugging a Python script so your code runs as expected. Debugging is the process of finding and removing "bugs" or defects in a program, and it is also useful in getting your code to run in the first place! Chapter 3 presents "Python Basics" because a big part of debugging is knowing the correct syntax for a particular object and task. This book doesn't try to cover all the nuances of Python but does cover the terms and syntax you're likely to encounter in your first few weeks or months of programming. The overhead and clutter are gone, leaving behind clear and simple instructions.

Code examples are self-contained, so you can copy and paste them into your IDE and run the program. There are certainly more elegant ways to do many of these tasks, but I wanted to demonstrate each concept with a working piece of code limited to a few lines. In Chapter 3, we'll look at the following topics and more.

  • Functions, Lists, Dictionaries, Tuples, Ranges, Comprehension
  • Indexing, Slicing, Comparison Operators, Control Statements

There are dozens of diagrams that explain concepts such as indexing, slicing, scope, or recursive functions. We'll look at syntax relevant to each type of object. For example, to add to a "list," you could use 'append,' 'join' or 'extend' methods. While adding a new key:value pair to a dictionary is straightforward, adding to an existing dictionary can be confusing. The"type" of object in the key:value pair determines which methods you'll use to add, update, or delete objects.

There are over 50 real-world code examples. Between the detailed Table of Contents and extensive Index, you can quickly find answers. The Index includes common phrases for those times when you don't know the technical term. For example, to find a string in Python, you could use the "in" comparison operator. Whether you look for "find" or "search," the Index refers you to the "in" comparison operator. The examples are varied so you can work with different types of data, such as: XML, HTML, matplotlib (plots/charts/graphs), OS (files/directories), *.txt, *.csv, user input, or dates.

What listeners say about Python Coding - One Year Later

Average customer ratings

Reviews - Please select the tabs below to change the source of reviews.