Skip to Content
Python Epiphanies
on-demand course

Python Epiphanies

with Stuart Williams
July 2015
Intermediate
2h 30m
English
O'Reilly Media, Inc.
Closed Captioning available in German, English, Spanish, French, Japanese, Korean, Portuguese (Portugal, Brazil), Chinese (Simplified), Chinese (Traditional)

Overview

Python is an amazing language.

However, many intermediate Python developers aren’t achieving their full potential with the language because of features and concepts they don't know, or that they partly know but find confusing because their understanding isn't quite right. This video tutorial will help you by:

  • Clarifying exactly how names work. Names are one of features of Python most often poorly understood, especially for developers who think in terms of variables as containers for values.
  • Explaining namespaces and going into detail on all the language features that change them from assignment and del to function and class definitions. You’ll then learn potentially confusing aspects of Python that, once you correctly understand names and namespaces, are no longer confusing.
  • Demonstrating several powerful features in Python that are often lacking in other language, such as generators and first class objects, in order to help you imagine more Pythonic solutions to problems.

Topics include:

  • The details of object creation and naming
  • Namespace changing features including assignment, del, import, function definition, class definition, and decorators
  • Disassembling CPython bytecode to understand some Python features
  • Iterables, iterators, and the iterator protocol
  • How to use generators to make your code easier to read and understand
  • Monkey patching classes, creating classes dynamically, and how bound methods work
  • Using special methods in classes
  • Several ways other than classes to bind data with functions
  • Python 3 features such as tuple assignment with extended iterable unpacking and keyword-only function arguments

Stuart Williams has been teaching Python for over a decade to audiences as diverse as adults in industry and at PyCon, students in university, high school students at a week-long Python summer camp, and grade school students learning Raspberry Pi.

He holds a B.Sc. degree in Physics and Math/Computer Science, and a M.Sc. in Computer Science and Engineering from the University of Washington.

He works in the financial services industry with Python in domains ranging from batch systems, to software architecture, to helping quantitative analysts. He also teaches Python and coaches development teams at startups.

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Watch now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Python in Containers

Python in Containers

Kris Celmer

Publisher Resources

ISBN: 9781491926130