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

Поделиться
HTML-код
  • Опубликовано: 8 ноя 2024

Комментарии • 3

  • @sillybuttons925
    @sillybuttons925 4 года назад +3

    Getting to James Powell level here :) love it

  • @thomashirtz
    @thomashirtz 3 года назад +3

    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)

    • @anthonywritescode
      @anthonywritescode  3 года назад +2

      yeah looks like I plucked off `__enter__` but forgot to call it