Context Managers in Python - Advanced Python 21 - Programming Tutorial

Publicado em: 25 Agosto 2019
no canal de: Patrick Loeber
25,658
556

In this Python Advanced Tutorial, we will talk about context managers and the with statement. Context managers are a great tool for resource management. They allow you to allocate and release resources precisely when you want to. A well-known example is the with open() statement. In this video we will learn:

The concept of context managers, and what they are used for
Typical examples of context managers
How can we implement our own context manager.

~~~~~~~~~~~~~~ GREAT PLUGINS FOR YOUR CODE EDITOR ~~~~~~~~~~~~~~
✅ Write cleaner code with Sourcery: https://sourcery.ai/?utm_source=youtu... *

📚 Get my FREE NumPy Handbook:
https://www.python-engineer.com/numpy...

📓 Notebooks available on Patreon:
  / patrickloeber  

⭐ Join Our Discord :   / discord  

If you enjoyed this video, please subscribe to the channel!

A written Tutorial can be found here:
https://www.python-engineer.com/cours...

You can find me here:
Website: https://www.python-engineer.com
Twitter:   / patloeber  
GitHub: https://github.com/patrickloeber

#Python

----------------------------------------------------------------------------------------------------------
This is a sponsored link. By clicking on it you will not have any additional costs, instead you will support me and my project. Thank you so much for the support! 🙏


Nesta página do site você pode assistir ao vídeo on-line Context Managers in Python - Advanced Python 21 - Programming Tutorial duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Patrick Loeber 25 Agosto 2019, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 25,658 vezes e gostou 556 espectadores. Boa visualização!