Title: Getting to Know Duck Typing in Python – Real Python
Open Graph Title: Getting to Know Duck Typing in Python – Real Python
Description: In this video course, you'll learn about duck typing in Python---a type system based on an object's behavior rather than inheritance. By taking advantage of duck typing, you can create flexible and decoupled sets of Python classes that work together or independently.
Open Graph Description: In this video course, you'll learn about duck typing in Python---a type system based on an object's behavior rather than inheritance. By taking advantage of duck typing, you can create flexible and decoupled sets of Python classes that work together or independently.
Opengraph URL: https://realpython.com/courses/duck-typing-python/
X: @realpython
Domain: realpython.com
{
"@context": "https://schema.org",
"@type": "Course",
"@id": "https://realpython.com/courses/duck-typing-python/",
"url": "https://realpython.com/courses/duck-typing-python/",
"name": "Getting to Know Duck Typing in Python",
"description": "In this video course, you'll learn about duck typing in Python---a type system based on an object's behavior rather than inheritance. By taking advantage of duck typing, you can create flexible and decoupled sets of Python classes that work together or independently.",
"availableLanguage": [
"en"
],
"educationalLevel": "Intermediate",
"educationalCredentialAwarded": {
"@type": "EducationalOccupationalCredential",
"credentialCategory": "Certificate",
"name": "Real Python Certificate of Completion"
},
"hasCourseInstance": [
{
"@type": "CourseInstance",
"courseMode": "Online",
"courseWorkload": "PT118M42S",
"instructor": {
"@type": "Person",
"name": "Negar Vahid",
"image": "https://realpython.com/cdn-cgi/image/width=756,height=756,fit=crop,gravity=auto,format=auto/https://files.realpython.com/media/negar-pic.114658386780.5b2dd45547b0.jpg",
"url": "https://realpython.com/team/nvahid/",
"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/Duck-Typing-in-Python_Watermarked.b1b2472a1e39.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": "Getting Started With Duck Typing"
},
{
"@type": "Syllabus",
"name": "ABCs, Type Hints, and Checking Types"
}
],
"offers": [
{
"@type": "Offer",
"category": "Subscription"
}
],
"datePublished": "2025-03-11",
"dateModified": "2026-06-12"
}
| author | Real Python |
| theme-color | #18354c |
| color-scheme | light dark |
| twitter:card | summary_large_image |
| twitter:image | https://files.realpython.com/media/Duck-Typing-in-Python_Watermarked.b1b2472a1e39.jpg |
| og:image | https://files.realpython.com/media/Duck-Typing-in-Python_Watermarked.b1b2472a1e39.jpg |
| twitter:creator | @realpython |
| og:type | article |
| og:site_name | Real Python |
| apple-mobile-web-app-title | Real Python |
Links:
Viewport: width=device-width, initial-scale=1, shrink-to-fit=no, viewport-fit=cover
Robots: max-image-preview:large