Media Summary: today I show `__file__` and how you can use it to find files relative to today I go over all the tools I use to set up my projects, as well as the differences between 1-file libraries, multi-file libraries, and ... today I talk about four different strategies for setting default values on namedtuple construction! there's different patterns to choose ...

Python Tempfile Module Beginner Intermediate Anthony Explains 324 - Detailed Analysis & Overview

today I show `__file__` and how you can use it to find files relative to today I go over all the tools I use to set up my projects, as well as the differences between 1-file libraries, multi-file libraries, and ... today I talk about four different strategies for setting default values on namedtuple construction! there's different patterns to choose ... today I talk about packaging data / build files for today I show how to recursively import all oh hey, it's episode 100! today I talk about one of my favorite ways to make plain-old-data classes in

today I talk about `repr`, what it is, and how to implement `__repr__` for your own classes! playlist: ... today I go over all of the various argument/parameter types for today I talk about namespace packages, what PEP 420 is, and why I don't use namespace packages playlist: ... today I talk about the any / all builtins in today I talk about explicit type aliases in today I talk about explicit relative imports in

Today we learn about the differences between today I talk about comprehensions (list, set, dict, generator) and the syntax and how you can think about them as (nested) for loops ... today I talk about the `source` command -- why it exists, and why I prefer `.` over `source`! playlist: ... today I show the tools and processes I used to improve

Photo Gallery

python tempfile module (beginner - intermediate) anthony explains #324
python: what is `__file__`? (beginner - intermediate) anthony explains #375
my python project setup (+ all tools) (intermediate) anthony explains #396
python: 4 ways to set namedtuple defaults (intermediate) anthony explains #118
python packaging: data files (intermediate) anthony explains #071
recursively import python modules (intermediate) anthony explains #372
intro to python namedtuples! (beginner - intermediate) anthony explains #100
python: what is repr? (beginner - intermediate) anthony explains #326
python star imports (beginner - intermediate) anthony explains #061
all python argument / parameter types (beginner - intermediate) anthony explains #021
I don't need `__init__.py`? PEP 420 and namespace packages (intermediate) anthony explains #420
from imports aren't faster! (beginner - intermediate) anthony explains #398
View Detailed Profile
python tempfile module (beginner - intermediate) anthony explains #324

python tempfile module (beginner - intermediate) anthony explains #324

today I talk about the

python: what is `__file__`? (beginner - intermediate) anthony explains #375

python: what is `__file__`? (beginner - intermediate) anthony explains #375

today I show `__file__` and how you can use it to find files relative to

my python project setup (+ all tools) (intermediate) anthony explains #396

my python project setup (+ all tools) (intermediate) anthony explains #396

today I go over all the tools I use to set up my projects, as well as the differences between 1-file libraries, multi-file libraries, and ...

python: 4 ways to set namedtuple defaults (intermediate) anthony explains #118

python: 4 ways to set namedtuple defaults (intermediate) anthony explains #118

today I talk about four different strategies for setting default values on namedtuple construction! there's different patterns to choose ...

python packaging: data files (intermediate) anthony explains #071

python packaging: data files (intermediate) anthony explains #071

today I talk about packaging data / build files for

recursively import python modules (intermediate) anthony explains #372

recursively import python modules (intermediate) anthony explains #372

today I show how to recursively import all

intro to python namedtuples! (beginner - intermediate) anthony explains #100

intro to python namedtuples! (beginner - intermediate) anthony explains #100

oh hey, it's episode 100! today I talk about one of my favorite ways to make plain-old-data classes in

python: what is repr? (beginner - intermediate) anthony explains #326

python: what is repr? (beginner - intermediate) anthony explains #326

today I talk about `repr`, what it is, and how to implement `__repr__` for your own classes! playlist: ...

python star imports (beginner - intermediate) anthony explains #061

python star imports (beginner - intermediate) anthony explains #061

today I talk about star imports in

all python argument / parameter types (beginner - intermediate) anthony explains #021

all python argument / parameter types (beginner - intermediate) anthony explains #021

today I go over all of the various argument/parameter types for

I don't need `__init__.py`? PEP 420 and namespace packages (intermediate) anthony explains #420

I don't need `__init__.py`? PEP 420 and namespace packages (intermediate) anthony explains #420

today I talk about namespace packages, what PEP 420 is, and why I don't use namespace packages playlist: ...

from imports aren't faster! (beginner - intermediate) anthony explains #398

from imports aren't faster! (beginner - intermediate) anthony explains #398

I often hear the assertion that

python: how do any / all work? (beginner) anthony explains #225

python: how do any / all work? (beginner) anthony explains #225

today I talk about the any / all builtins in

python typing: explicit TypeAlias (PEP 613) (intermediate) anthony explains #365

python typing: explicit TypeAlias (PEP 613) (intermediate) anthony explains #365

today I talk about explicit type aliases in

python: explicit relative imports (intermediate) anthony explains #298

python: explicit relative imports (intermediate) anthony explains #298

today I talk about explicit relative imports in

Modules, Packages, Libraries - What's The Difference?

Modules, Packages, Libraries - What's The Difference?

Today we learn about the differences between

python packaging: basic setup.py and declarative metadata (intermediate) anthony explains #057

python packaging: basic setup.py and declarative metadata (intermediate) anthony explains #057

today I go over a

python: all about comprehensions! (beginner - intermediate) anthony explains #161

python: all about comprehensions! (beginner - intermediate) anthony explains #161

today I talk about comprehensions (list, set, dict, generator) and the syntax and how you can think about them as (nested) for loops ...

what is `source` and why? (beginner - intermediate) anthony explains #329

what is `source` and why? (beginner - intermediate) anthony explains #329

today I talk about the `source` command -- why it exists, and why I prefer `.` over `source`! playlist: ...

how I sped up python by 20ms (intermediate) anthony explains #417

how I sped up python by 20ms (intermediate) anthony explains #417

today I show the tools and processes I used to improve