with + context managers (part1: the hard way) (intermediate - advanced) anthony explains
ฝัง
- เผยแพร่เมื่อ 6 พ.ย. 2020
- today I talk about the with statement and context managers as well as how to implement a context manager class.
playlist: • anthony explains
==========
twitch: / anthonywritescode
dicsord: / discord
twitter: / codewithanthony
github: github.com/asottile
stream github: github.com/anthonywritescode
I won't ask for subscriptions / likes / comments in videos but it really helps the channel. If you have any suggestions or things you'd like to see please comment below! - วิทยาศาสตร์และเทคโนโลยี
Getting to James Powell level here :) love it
Hey! nice video
Small comment though, Is there a small mistake at the end ?
We don't execute the __enter__ at ~15:50 (I guess it needs to be in the try)
yeah looks like I plucked off `__enter__` but forgot to call it