PyData Careers
20.7K subscribers
197 photos
4 videos
26 files
342 links
Python Data Science jobs, interview tips, and career insights for aspiring professionals.
Download Telegram
Question 6 (Advanced):
In Python's context managers, what is the purpose of the __enter__ and __exit__ methods?

A) Memory allocation and garbage collection
B) Database connection pooling
C) Resource initialization and cleanup
D) Thread synchronization

#Python #ContextManagers #ResourceManagement #Advanced