Title: Creating Modules (Video) – Real Python
Open Graph Title: Creating Modules – Real Python
Description: Open IDLE and start a new editor window. In the editor window, define a function named add() that returns the sum of its two parameters. def add(x, y): and then on the next line, indented, return x + y. Save the file as adder.py on your computer in…
Open Graph Description: Open IDLE and start a new editor window. In the editor window, define a function named add() that returns the sum of its two parameters. def add(x, y): and then on the next line, indented, return x + y. Save the file as adder.py on your computer in…
Opengraph URL: https://realpython.com/videos/creating-python-modules/
X: @realpython
Domain: realpython.com
{
"@context": "https://schema.org",
"@type": "VideoObject",
"name": "Creating Modules",
"description": "Open IDLE and start a new editor window. In the editor window, define a function named add() that returns the sum of its two parameters. def add(x, y): and then on the next line, indented, return x + y. Save the file as adder.py on your computer in…",
"thumbnailUrl": ["https://files.realpython.com/media/Modules-and-Packages_Watermarked.bc38abc24435.jpg"],
"uploadDate": "2023-11-14T14:00:00+00:00",
"duration": "PT1M55S",
"embedUrl": "https://realpython.com/videos/creating-python-modules/embed/",
"potentialAction": {
"@type": "SeekToAction",
"target": "https://realpython.com/videos/creating-python-modules/#t={seek_to_second_number}",
"startOffset-input": "required name=seek_to_second_number"
}
}
| author | Real Python |
| theme-color | #18354c |
| color-scheme | light dark |
| twitter:card | summary_large_image |
| twitter:image | https://files.realpython.com/media/Modules-and-Packages_Watermarked.bc38abc24435.jpg |
| og:image | https://files.realpython.com/media/Modules-and-Packages_Watermarked.bc38abc24435.jpg |
| twitter:creator | @realpython |
| og:type | video.episode |
| 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