Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Seven Things Every Python Programmer Should Know

NDC Conferences via YouTube

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Discover seven essential techniques and idioms that experienced Python 3 programmers utilize but may not be immediately apparent to newcomers. Explore how to make your programs more reliable, faster, and easier to maintain while avoiding common pitfalls. Dive into code examples that cover topics such as code execution, empty lists, sentinel objects, floating-point arithmetic, number types, decimals and fractions, failure modes of floats, binary representation of floats, computational geometry, and Python quirks. Learn about chain comparisons and how to reduce work in your code. Gain valuable insights that will set your Python journey on the right path and enhance your programming skills.

Syllabus

Introduction
Code Execution
Empty Lists
Sentinel Objects
No tradeoffs
Floatingpoint arithmetic
Number types
Decimal and fractions
Failure modes of float
Floats are binary
Decimals are floatingpoints
Computational geometry
Sign of the determinant
Demonstration
Floating point numbers
Python quirks
Python idioms
Chain comparisons
Reduce work

Taught by

NDC Conferences

Reviews

Start your review of Seven Things Every Python Programmer Should Know

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.