(Even More) Python Basics for Experts ⓪ : What is even real?

(Even More) Python Basics for Experts ⓪ : What is even real?

Dive into the essence of Python's reality: identity, immutability, and more.

By Don't Use This Code

Date and time

Thursday, June 6 · 8:30 - 9:30am PDT

Location

Online

Refund Policy

Contact the organizer to request a refund.
Eventbrite's fee is nonrefundable.

About this event

  • 1 hour

This Session

Session details:

  • Time: 60 min
  • Target Level: Novice/Intermediate†
  • Prerequisites: Strong familiarity with basic Python syntax

† Note: this session is designed for ambitious (!) novices—it will be fast-paced, dense session, and packed with critical subtleties & nuances but will cover ground you have likely trod before.


Abstract

In this session, we'll examine factors that impact our ability to manage our data effectively, produce reliable and bug-free code, and design more efficient and reliable data structures. We will look to answer the following questions:

  • What is the difference between identity and equality... and why should I care?
  • What is the difference between a live view and a snapshot... and why does it matter?
  • What is the difference between mutable and immutable data... and how can I use this to improve my code?
  • What is the difference between immutability and hashability... and how does this affect my design?

Topics: object orientation, identity, equality, mutability, immutability, hashability, Python internals

Series Overview


Lesson plan

Session ⓪: What is even real? (June 6, 11:30am US/Eastern)

  • What is the difference between identity and equality... and why should I care?
  • What is the difference between a live view and a snapshot... and why does it matter?
  • What is the difference between mutable and immutable data... and how can I use this to improve my code?
  • What is the difference between immutability and hashability... and how does this affect my design?

Topics: object orientation, identity, equality, mutability, immutability, hashability, Python internals


Session ①: How do I make it real? (June 13, 11:30am US/Eastern)

  • What is the difference between an object and a closure or an object and a generator coroutine… and how does this affect usability?
  • What is the difference between inheritance and composition… and which should I pick?
  • What do I need to know about object orientation in Python? What is an example convention? What is an example rule? … and does this make things more understandable?
  • What is boilerplate elimination, is boilerplate really that bad… and how can eliminating it help me work faster?

Topics: object orientation, functional programming, closures, generators, generator coroutines, inheritance, composition, dataclasses.dataclass


Session ②: How do I do less work? (June 20, 11:30am US/Eastern)

  • When would I actually write a decorator or a higher-order decorator… and why?
  • When would I actually write a class decorator… and is this really better than other approaches?
  • When would I actually write a metaclass… and is there a better way?
  • When would I actually use eval or exec… and should I feel as guilty when I do it?

Topics: decorators, higher-order decorators, class decorators, metaclasses, __init_subclass__, metaprogramming, exec, eval

Your Presenter (James Powell)

James Powell is the founder and lead instructor at Don’t Use This Code. He currently serves as Chairman of the NumFOCUS Board of Directors, helping to oversee the governance and sustainability of all of the major tools in the Python data analysis ecosystem (i.e., pandas, NumPy, Jupyter, Matplotlib). At NumFOCUS, he helps build global open source communities for data scientists, data engineers, and business analysts. He helps NumFOCUS run the PyData conference series and has sat on speaker selection and organizing committees for 18 conferences. James is also a prolific speaker: since 2013, he has given over seventy conference talks at over fifty Python events worldwide. In fact, he is the second most prolific speaker in the PyData and Python ecosystem (source: pyvideo.org).

Our Offerings:

Subscribe to our newsletter (https://bit.ly/expert-python) to stay up to date on our offerings and receive exclusive discounts.


Team Courses & Private Bookings

We offer a wide variety of private training courses for your team on topics such as:

  • “Scientific Computing with NumPy, pandas, and Xarray”
  • “Fundamentals of Programming for Analysts”
  • “Introduction to Python for Data Analysis”
  • “Mastering pandas for Data Analysis”
  • “Dashboarding & Data Pipelines in Python”
  • “Web Scraping & Text Parsing for ETL”

Our courses and seminars are designed with the “why” at the forefront of everything we do. As a result, the courses balance information, exercises, and case studies that help encourage attendee success.

Courses are developed to fit the needs of multiple levels of mastery. We strive to ensure that every attendee is taught personally and that all the time they commit to learning is magnified.


Open to the Public

Once per quarter, we hold our Developing Expertise in Python course, open to the public!

This course is three full days of intensively personalized hands-on instruction within a small cohort (≤10). Sessions begin with individual interviews with each attendee to assess current levels of understanding and set specific, measurable goals for their individual growth and professional development

No lecture, no slides—the sessions are driven entirely by discussion around concrete live-coded examples with detailed prep & supplementary review materials (≥50 pages of background course notes and ≥10 hours of background videos) provided.

See our Organizer Page for info on upcoming dates!

Don’t see a course you need? Contact us at learning@dutc.io to get the curricula you’re looking for!

FAQ

What does each ticket type include?

A Live Attendance ticket allows you to attend a single session live. You will have access to a website where all of the session notes are posted.


A Live Attendance+ ticket is a single-event pass which offers:

  • Live attendance at the event
  • A professionally-edited, HD video recording of the seminar
  • A complete PDF of all of the materials from the session
  • An invitation to our Discord Server where you can interact with our instructors and like-minded individuals in the Python community


A Series Pass ticket offers everything in the Live Attendance+ package for all three events in the series.


I purchased one Live Attendance+ ticket, but now I’d like to purchase a Series Pass. Do I need to pay full price?

No! If you’d like to purchase a ticket package after purchasing a single Live Attendance+ ticket, contact us at info@dutc.io to let us know. We’ll credit the cost of your single ticket towards the purchase of the package ticket.


I can’t attend the seminar live. Should I still register?

Yes! The week after a seminar, everyone who registered with one of our paid tickets will receive:

  • An HD, professionally-produced video of the presentation - You can watch the video any time you like and refer back to it later.
  • Complete PDF notes including all of the code from the sessions
  • An invitation to our Discord Server where you can interact with our instructors and like-minded individuals in the Python community


I missed the first seminar in a series. How do I benefit from attending the subsequent sessions?

The best way to catch up is to purchase a Series Pass ticket. If you purchase a Series Pass after one or more sessions have already concluded, we will send you the video and materials from the session(s) you missed.


Will the seminar be recorded? Are recordings available?

Yes, the seminar will be recorded and professionally produced. In the week following the seminar, anyone who purchased a Live Attendance+ or Series Pass will receive a link to the video at the email address associated with their EventBrite account.


Can I get a detailed receipt to submit for a corporate training reimbursement?

Yes - email us at info@dutc.io and we will provide you with an invoice.


What is your refund policy?

Receive a full refund if you cancel your ticket 24 hours in advance.

However! If you have to cancel because you can’t attend live, know that we send the videos out to everyone who has registered for one of the paid ticket types.

Organized by

$0 – $129