Context Managers in Python - Advanced Python 21 - Programming Tutorial

preview_player
Показать описание
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 ~~~~~~~~~~~~~~

📚 Get my FREE NumPy Handbook:

📓 Notebooks available on Patreon:

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

A written Tutorial can be found here:

You can find me here:

#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! 🙏
Рекомендации по теме
Комментарии
Автор

Just finished the whole course, best tutorial on Python there is!

jinlee
Автор

Ahhhh....I have been too lazy to complete this short, precise & effective series on Python. I have to say that this whole series is such an engaging journey that a person, not lazy like me, can start one fine morning & can start coding in Python by evening. Thanks a lot for this series & appreciate your efforts to help others like me to understand Python.

nitinagrawal
Автор

I really enjoyed watching every single tutorial and learned great deal. This is the best python advanced series. Thank you for putting all the efforts on this. Wish more videos to come.

kaiye
Автор

Thank You! for all the very good Tutorials...

alexanderstingel
Автор

A must see series for people thinking they know Python but with not so much experience.

payman_azari
Автор

Very good and funny videos bring a great sense of entertainment!

ngocthuytathi
Автор

This is one of the best tutorial series i watched . I went through all your 21 videos covering advanced Python topics and each one of it has been really well dealt with. Has been really helpful and thanks a ton for making it so simple and precise. Please keep up the great work.

adityatekumalla
Автор

Thank you very much for a great tutorial. For me the threading & multiprocessing part was amazingly detailed & practical.

benyaminyakobi
Автор

Tremendous experiences, I didn't ever seen any video regarding detailed python, Its' crystal understanding for whole topics, I gone through all topics for advance python series, Thank you for your efforts & waiting for more videos regarding python & Artifical Intelligence course & more course

blessycheriyan
Автор

Dude, you are awesome !!!
I loved your explanation was very clear to me,
I watched your entire series
I came from freecodecamp and subbed your channel

gauravbhasme
Автор

Thanks much for the series! I have gone through all videos and refreshed and updated quite a bit. I feel another video explaining inheritance, encapsulations and exception handling as well can be added into this module if not there in basic course

obusama
Автор

dude your my saver
i was finished the basic python and i was confused your my angle (:

hattson-corp
Автор

15:22 why do we need to decorate it with contextmanager ? without it we should still be able to execute line 11 - 13?

xiaoyaoli
Автор

The video sound is pretty good, beyond my imagination

ИльяШерстнёв-хй
Автор

Dude, thank you. Is it there a way someone can donate something for the amazing work you did?
It's really appreciated !!

damianorenzetti
Автор

Hello Python Engineer, i am following your GitHub page The Ultimate Free ML Study Plan, the course Numpy - Free Udemy Course is no longer free, could you please suggest an alternative to me please?
Thanks for all your help.


Sam

SamOween
Автор

Change the name for this video series. This is beginner stuff. Don't
lie to people by calling it advanced. You lose your credibility from
the start when you LIE to people right from the start.

drnotebook
Автор

sorry i can't like your all videos
can you explain about networking and net security ?

hattson-corp
Автор

Very good and funny videos bring a great sense of entertainment!

thinuongpham
join shbcf.ru