July 13–16, 2020

Intermediate Python: The Python features you overlooked

Trey Hunner (Python Morsels)
10:00am–5:30pm Monday, 07/13/2020
Location: E145

To attend, participants must be registered for a Training Pass. Please note: 2-Day Training passholders have access to TWO 1-day training courses, ONE on Monday and ONE on Tuesday. 1-Day Training passholders have access to ONE 1-day training course on Monday OR Tuesday.

So you've been using Python for a while, and you understand how to use functions, loops, dictionaries, lists, tuples, and classes. But your code doesn't feel "Pythonic" yet. Trey Hunner explains Python's intermediate-level features. You'll go hands-on to write comprehensions and generators and experience some of Python's advanced object-oriented programming features.

What you'll learn, and how you can apply it

  • Learn how to embrace often-overlooked Python philosophies, such as duck typing, lazy looping, avoiding in-place mutation, and using operator overloading to make "Pythonic" classes

Who is this presentation for?

  • You're a software engineer.

Level

Intermediate

Prerequisites:

  • A working knowledge of Python's `if` statements, `for` loops, functions, various dictionary methods and uses of dictionaries, lists, tuples, tuple unpacking, list slicing, classes, and class inheritance

Hardware and/or installation requirements:

  • A laptop with Python 3.7+ installed

Outline

  • Intro and quick review: Tuple unpacking; asterisks; variables are pointers; everything is an object
  • List comprehensions
  • Generator expressions and next
  • Generator functions, iterators, iterables
  • Advanced OOP: Data classes; properties; operator overloading
  • Decorators

About your instructor

Photo of Trey Hunner

Trey Hunner is a technical trainer at Python Morsels, a service for hands-on weekly Python learning, where he helps Python professionals level up their skills. Trey also helps software teams turn their turn professional developers into professional Python developers through on-site training with his company Truthful Technology. He specializes in helping Django teams turn their frontend developers into full stack Django developers.

Twitter for treyhunner

Conference registration

Get a Training Pass to add this course to your package.

Leave a Comment or Question

Help us make this conference the best it can be for you. Have questions you'd like this speaker to address? Suggestions for issues that deserve extra attention? Feedback that you'd like to share with the speaker and other attendees?

Join the conversation here (requires login)

Contact us

confreg@oreilly.com

For conference registration information and customer service

partners@oreilly.com

For more information on community discounts and trade opportunities with O’Reilly conferences

Become a sponsor

For information on exhibiting or sponsoring a conference

pr@oreilly.com

For media/analyst press inquires