Expert Python Tutorial #6 - Context Managers

preview_player
Показать описание
In this expert python tutorial I will be discussing context managers. Context managers allow you to ensure a certain operation occurs on exit or crash from a certain block of code. This is useful for something like files, where it it essential that you close the file after it is opened.

◾◾◾◾◾
💻 Enroll in The Fundamentals of Programming w/ Python

◾◾◾◾◾◾

⚡ Please leave a LIKE and SUBSCRIBE for more content! ⚡

⭐ Tags ⭐
- Tech With Tim
- Python Tutorials
- Expert Python
- Python Context Managers

⭐ Hashtags ⭐
#python
Рекомендации по теме
Комментарии
Автор

What features would you like to learn about next?! Let me know...

TechWithTim
Автор

Thanks Tim for providing free education. such a talented guy ❤

sandeep-jpib
Автор

Hi Tim, nice video, this series just keeps getting better. An a video idea(or series idea) I would recommend is design patterns in Python.

ambarishkapil
Автор

This series was great! Can you do a tutorial on some of the more meta topics: how to use the logger? How to structure a project directory and why (eg are tests in their own folder or the main folder)?

brendenmillstein
Автор

Seems like the whole series is heavily inspired by James Powell's talk about advanced Python concepts, which is certainly a good thing :)
Really nice series, thanks! :)

sasakanjuh
Автор

Hi Tim. I like the series a lot and learned much from it and from other videos in your channel. Keep teaching because you are great at it. Can you do a video about property?

barmelumad
Автор

Beautiful series, short, concise and clear. I've been using python for 10 yrs now and still neglected so many of the basic things you explained. Thank you, very usefull.
How about one more video on the last bit you showed on accessing a variable from different resources at the same time? Also __future__ statement would be nice to know.

marcodigennarobari
Автор

I was strugling to make a filemanager class but this tutorial helped very much thanks

KunalKumar-pcvg
Автор

Wow...this is really cool. I'm totally new to Python....very cool feature.

davemorin
Автор

Hey Tim! Love this series. Could you upload a video on python app development? Would love to see it.

harmannatsingh
Автор

Definitely one of the more useful things to know. Great series, Tim.

leedavies
Автор

Pls make a video explaining descriptor in detail,
Btw Osm video ❤️

tri
Автор

Context managers are like error exceptions....
Very very useful.
💯💯💯

SkyFly
Автор

Amazing. Thank you. <3

I am interested in namespaces, modules and managing conditional includes. (example: I read some input and do a lookup against some rulesets which require some validators to be run and calling some data processors which do heavystuff, but I do not want to load every class)

eurosat
Автор

Can't wait to watch that memory lock video...

marcosmimenza
Автор

I had no idea you could use a try statement without an except block. My mind is blown.

TruthSikher
Автор

Socket programming series please
Programmers like this if you also want

mubasharjaved
Автор

i would love you to show us how to use the GEP gun for silent takedowns

aaronbaron
Автор

This series makes concepts I always tried to push away very fun and useful. Amazing understanding and explaining, thank you so much.

ammar
Автор

Love your videos! Do you have any advice for learning a new programming language on your own? Please let me know👍

Nino-pegk