Title: Context Managers and Using Python's with Statement – Real Python
Open Graph Title: Context Managers and Using Python's with Statement – Real Python
Description: In this video course, you'll learn what the Python with statement is and how to use it with existing context managers. You'll also learn how to create your own context managers.
Open Graph Description: In this video course, you'll learn what the Python with statement is and how to use it with existing context managers. You'll also learn how to create your own context managers.
Opengraph URL: https://realpython.com/courses/with-statement-python/
X: @realpython
Domain: realpython.com
{
"@context": "https://schema.org",
"@type": "Course",
"@id": "https://realpython.com/courses/with-statement-python/",
"url": "https://realpython.com/courses/with-statement-python/",
"name": "Context Managers and Using Python's with Statement",
"description": "In this video course, you'll learn what the Python with statement is and how to use it with existing context managers. You'll also learn how to create your own context managers.",
"availableLanguage": [
"en"
],
"educationalLevel": "Intermediate",
"educationalCredentialAwarded": {
"@type": "EducationalOccupationalCredential",
"credentialCategory": "Certificate",
"name": "Real Python Certificate of Completion"
},
"hasCourseInstance": [
{
"@type": "CourseInstance",
"courseMode": "Online",
"courseWorkload": "PT73M31S",
"instructor": {
"@type": "Person",
"name": "Christopher Trudeau",
"image": "https://realpython.com/cdn-cgi/image/width=1174,height=1174,fit=crop,gravity=auto,format=auto/https://files.realpython.com/media/headshot_alt_crop.4769ad082e9a.jpeg",
"url": "https://realpython.com/team/ctrudeau/",
"affiliation": {
"@type": "Organization",
"@id": "https://realpython.com/#organization",
"name": "Real Python",
"url": "https://realpython.com",
"logo": "https://realpython.com/static/real-python-logo-square-512.157ae6bf64ed.png"
}
}
}
],
"image": {
"@type": "ImageObject",
"url": "https://files.realpython.com/media/Context-Managers--the-Python-with-Statement_Watermarked.3774ffbe2514.jpg",
"width": 1920,
"height": 1080
},
"inLanguage": "en",
"provider": {
"@type": "Organization",
"@id": "https://realpython.com/#organization",
"name": "Real Python",
"url": "https://realpython.com",
"logo": "https://realpython.com/static/real-python-logo-square-512.157ae6bf64ed.png"
},
"publisher": {
"@type": "Organization",
"@id": "https://realpython.com/#organization",
"name": "Real Python",
"url": "https://realpython.com",
"logo": {
"@type": "ImageObject",
"url": "https://realpython.com/static/real-python-logo-square-512.157ae6bf64ed.png",
"width": 512,
"height": 512
},
"description": "Real Python is a leading provider of online Python education and one of the largest language-specific online communities for software developers. It publishes high-quality learning resources, such as tutorials, books, and courses to an audience of millions of developers, data scientists, and machine learning engineers each month.",
"slogan": "Become a Python Expert",
"email": "info@realpython.com",
"sameAs": [
"https://github.com/realpython",
"https://www.youtube.com/realpython",
"https://twitter.com/realpython",
"https://x.com/realpython",
"https://www.linkedin.com/company/realpython-com/",
"https://www.facebook.com/learnrealpython",
"https://www.instagram.com/realpython",
"https://www.tiktok.com/@realpython.com"
]
},
"syllabusSections": [
{
"@type": "Syllabus",
"name": "Introduction to Context Managers"
},
{
"@type": "Syllabus",
"name": "Common Usage in the Standard Library"
},
{
"@type": "Syllabus",
"name": "Your Own Context Manager"
}
],
"offers": [
{
"@type": "Offer",
"category": "Subscription"
}
],
"datePublished": "2022-12-13",
"dateModified": "2024-10-18"
}
| author | Real Python |
| twitter:card | summary_large_image |
| twitter:image | https://files.realpython.com/media/Context-Managers--the-Python-with-Statement_Watermarked.3774ffbe2514.jpg |
| og:image | https://files.realpython.com/media/Context-Managers--the-Python-with-Statement_Watermarked.3774ffbe2514.jpg |
| twitter:creator | @realpython |
| og:type | article |
Links:
Viewport: width=device-width, initial-scale=1, shrink-to-fit=no, viewport-fit=cover
Robots: max-image-preview:large