A thank you to everyone who makes this possible:
Read More
Start
Events
Tags
Speakers
About
Thank You
Py
Video
Event: Python Morsels
Python Morsels helps developers improve their core Python skills through exercises and screencasts.
Unindenting multi-line strings in Python
Reading binary files in Python
Unicode character encodings
What is an iterator?
How to create a generator function
What is a generator function?
How to read a traceback in Python
Modules are cached
How to write to a file in Python
Read a file line-by-line in Python
How to read from a text file
Defining a main function in Python
Importing a module runs code
Parsing command-line arguments in Python
Accessing command-line arguments in Python
Python's walrus operator
Customizing what happens when you assign an attribute
Making a read-only attribute
Python's map and filter functions
How to write a generator expression
How to make a decorator
What is a decorator?
Passing functions as arguments to other functions
The meaning of "callable" in Python
Turning a for loop into a list comprehension
Breaking up long lines of code in Python
List comprehensions in Python
4 ways to import a module in Python
Making an auto-updating attribute
Tuple unpacking
Importing a module in Python
Inheriting one class from another
__init__ in Python
Customizing the string representation of your objects
Dunder methods in Python
Python's 2 different string representations
Python's self
Classes are everywhere
What is a class?
Accepting arbitrary keyword arguments in Python
Keyword-only function arguments
Accepting any number of arguments to a function
How to make a function
Positional vs keyword arguments
How to call a function in Python
Looping over multiple iterables at once
Looping with indexes
What is an iterable?
Writing a for loop