Media Summary: today I show off `nullcontext` as well as a few popular usecases for today I talk about the with statement and today I talk about how .contextmanager works - with +

Python Conditional Context And Exitstack Intermediate Anthony Explains 189 - Detailed Analysis & Overview

today I show off `nullcontext` as well as a few popular usecases for today I talk about the with statement and today I talk about how .contextmanager works - with + today I talk about the singleton pattern and a bunch of different ways to implement it in today I go over all of the various argument/parameter types for today I follow up to the video about Protocol and show for doing some light structural type checking at ...

today I show off the `pgrep` and `pkill` commands and how you can use them to find and signal processes! playlist: ... today I show off a cool little tool: `uq` -- the "universal serializer". it's useful for chaining configuration file contents to the jq (a json ... today I talk about the `assert` statement, what it is, how it works, and why some will flag it as a "security" issue. playlist: ...

Photo Gallery

python: conditional context and ExitStack (intermediate) anthony explains #189
what is nullcontext? (conditional contexts, pytest) (intermediate) anthony explains #464
with + context managers (part1: the hard way) (intermediate - advanced) anthony explains #138
with + context managers (part2: the easy way) (intermediate) anthony explains #139
how @contextmanager works (with/contexts part 3) (advanced) anthony explains #140
what is a singleton? (and python patterns) (intermediate - advanced) anthony explains #188
python: more advanced breakpoint() usage (intermediate) anthony explains #149
all python argument / parameter types (beginner - intermediate) anthony explains #021
typing: Protocol + @runtime_checkable (intermediate) anthony explains #187
python: naming and underscores (beginner - intermediate) anthony explains #178
python: exception catching and isinstance gotcha (beginner - intermediate) anthony explains #247
pgrep / pkill commands (beginner - intermediate) anthony explains #279
View Detailed Profile
python: conditional context and ExitStack (intermediate) anthony explains #189

python: conditional context and ExitStack (intermediate) anthony explains #189

today I talk about `

what is nullcontext? (conditional contexts, pytest) (intermediate) anthony explains #464

what is nullcontext? (conditional contexts, pytest) (intermediate) anthony explains #464

today I show off `nullcontext` as well as a few popular usecases for

with + context managers (part1: the hard way) (intermediate - advanced) anthony explains #138

with + context managers (part1: the hard way) (intermediate - advanced) anthony explains #138

today I talk about the with statement and

with + context managers (part2: the easy way) (intermediate) anthony explains #139

with + context managers (part2: the easy way) (intermediate) anthony explains #139

today we continue the discussion about

how @contextmanager works (with/contexts part 3) (advanced) anthony explains #140

how @contextmanager works (with/contexts part 3) (advanced) anthony explains #140

today I talk about how @contextlib.contextmanager works - with +

what is a singleton? (and python patterns) (intermediate - advanced) anthony explains #188

what is a singleton? (and python patterns) (intermediate - advanced) anthony explains #188

today I talk about the singleton pattern and a bunch of different ways to implement it in

python: more advanced breakpoint() usage (intermediate) anthony explains #149

python: more advanced breakpoint() usage (intermediate) anthony explains #149

today I talk about more

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

typing: Protocol + @runtime_checkable (intermediate) anthony explains #187

typing: Protocol + @runtime_checkable (intermediate) anthony explains #187

today I follow up to the video about Protocol and show @runtime_checkable for doing some light structural type checking at ...

python: naming and underscores (beginner - intermediate) anthony explains #178

python: naming and underscores (beginner - intermediate) anthony explains #178

today I talk about naming in

python: exception catching and isinstance gotcha (beginner - intermediate) anthony explains #247

python: exception catching and isinstance gotcha (beginner - intermediate) anthony explains #247

today I talk about exception handling in

pgrep / pkill commands (beginner - intermediate) anthony explains #279

pgrep / pkill commands (beginner - intermediate) anthony explains #279

today I show off the `pgrep` and `pkill` commands and how you can use them to find and signal processes! playlist: ...

Python Tutorial: Context Managers - Efficiently Managing Resources

Python Tutorial: Context Managers - Efficiently Managing Resources

In this

python implicit string joining (beginner - intermediate) anthony explains #017

python implicit string joining (beginner - intermediate) anthony explains #017

today I

useful tools: uq (beginner - intermediate) anthony explains #192

useful tools: uq (beginner - intermediate) anthony explains #192

today I show off a cool little tool: `uq` -- the "universal serializer". it's useful for chaining configuration file contents to the jq (a json ...

python: what is assert? (beginner) anthony explains #240

python: what is assert? (beginner) anthony explains #240

today I talk about the `assert` statement, what it is, how it works, and why some will flag it as a "security" issue. playlist: ...

context management in python | exc_info() function | standard exceptions in python

context management in python | exc_info() function | standard exceptions in python

MY INSTAGRAM ID: https://www.instagram.com/ns.lectures/ -

CONTEXT MANAGERS In Python Are GENIUS!

CONTEXT MANAGERS In Python Are GENIUS!

What are

Certified Entry Level Python Programmer - Part 20 - The if Statement

Certified Entry Level Python Programmer - Part 20 - The if Statement

Certified Entry-Level

python's tricky `for ...: else:` statement (beginner - intermediate) anthony explains #011

python's tricky `for ...: else:` statement (beginner - intermediate) anthony explains #011

today I