Python Intermediate I Tutorial 1 - The with Keyword

preview_player
Показать описание

Hi guys! In this python tutorial we're going to talk about how to read or write files in python using the with keyword,
sometimes it can be hard to remember if you closed a open object, this is why when you use the with, you don't need to worry
about closing a open object. It automatically closes the file when it has finished.

Рекомендации по теме