René's URL Explorer Experiment


Title: Introducing Packages (Video) – Real Python

Open Graph Title: Introducing Packages – Real Python

Description: Modules allow you to divide a program into individual files that can be reused as needed. Related code can be organized into a single module and kept separate from other code. Packages take this organizational structure one step further. In Python…

Open Graph Description: Modules allow you to divide a program into individual files that can be reused as needed. Related code can be organized into a single module and kept separate from other code. Packages take this organizational structure one step further. In Python…

Opengraph URL: https://realpython.com/lessons/introducing-python-packages/

X: @realpython

direct link

Domain: realpython.com


Hey, it has json ld scripts:
  {
    "@context": "https://schema.org",
    "@type": "VideoObject",
    "name": "Introducing Packages",
    "description": "Modules allow you to divide a program into individual files that can be reused as needed. Related code can be organized into a single module and kept separate from other code. Packages take this organizational structure one step further. In Python…",
    "thumbnailUrl": ["https://files.realpython.com/media/Modules-and-Packages_Watermarked.bc38abc24435.jpg"],
    "uploadDate": "2023-11-14T14:00:00+00:00",
    "duration": "PT1M16S",
    
    "potentialAction": {
      "@type": "SeekToAction",
      "target": "https://realpython.com/lessons/introducing-python-packages/#t={seek_to_second_number}",
      "startOffset-input": "required name=seek_to_second_number"
    }
  }
  

authorReal Python
theme-color#18354c
color-schemelight dark
twitter:cardsummary_large_image
twitter:imagehttps://files.realpython.com/media/Modules-and-Packages_Watermarked.bc38abc24435.jpg
og:imagehttps://files.realpython.com/media/Modules-and-Packages_Watermarked.bc38abc24435.jpg
twitter:creator@realpython
og:typevideo.episode
og:site_nameReal Python
apple-mobile-web-app-titleReal Python

Links:

https://realpython.com/
Start Herehttps://realpython.com/start-here/
Learn Python https://realpython.com/lessons/introducing-python-packages/
Your Learning Plan →Your personalized Python learning planhttps://realpython.com/account/learning-plan/
Python Tutorials →In-depth articles and video courseshttps://realpython.com/search?kind=article&kind=course&order=newest&_from=nav_library
Learning Paths →Guided study plans for accelerated learninghttps://realpython.com/learning-paths/
Quizzes & Exercises →Check your learning progresshttps://realpython.com/search?kind=exercise&kind=quiz&_from=nav_library
Browse Topics →Focus on a specific area or skill levelhttps://realpython.com/tutorials/all/
Reference →Concise definitions for common Python termshttps://realpython.com/ref/
Mentor AI →NewYour personal Python mentorhttps://realpython.com/mentor/
Office Hours →Live Q&A calls with Python expertshttps://realpython.com/office-hours/
Community Chat →Learn with other Pythonistashttps://realpython.com/community/
Live Courses →Live, instructor-led Python courseshttps://realpython.com/live/
Books →Round out your knowledge and learn offlinehttps://realpython.com/products/books/
Podcast →Hear what’s new in the world of Pythonhttps://realpython.com/podcasts/rpp/
Unlock All Content and Become a Python Expert →Get unlimited access to all Real Python has to offerhttps://realpython.com/account/join/?from=navbar_learn
Unlock All Content →Become a Python Experthttps://realpython.com/account/join/?from=navbar_learn
More https://realpython.com/lessons/introducing-python-packages/
Learner Storieshttps://realpython.com/learner-stories/
Python Newsletterhttps://realpython.com/newsletter/
Python Job Boardhttps://www.pythonjobshq.com
Meet the Teamhttps://realpython.com/team/
Become a Contributorhttps://realpython.com/jobs/
Searchhttps://realpython.com/search
https://realpython.com/search
Joinhttps://realpython.com/account/join/
Sign‑Inhttps://realpython.com/account/login/?intent=navbar&next=%2Flessons%2Fintroducing-python-packages%2F
Unlock This Lessonhttps://realpython.com/account/join/?utm_source=rp_lesson&utm_content=python-basics-modules-packages
Unlock This Lessonhttps://realpython.com/account/join/?utm_source=rp_lesson&utm_content=python-basics-modules-packages
https://realpython.com/courses/python-basics-modules-packages/#team
Python Basics: Modules and Packageshttps://realpython.com/courses/python-basics-modules-packages/
Philipp Acsanyhttps://realpython.com/courses/python-basics-modules-packages/#team
Course Slides (.pdf)https://realpython.com/courses/python-basics-modules-packages/downloads/python-basics-modules-packages-slides/
Sample Code (.zip)https://realpython.com/courses/python-basics-modules-packages/downloads/python-basics-modules-packages-code/
Ask a Questionhttps://realpython.com/lessons/introducing-python-packages/#discussion
https://realpython.com/feedback/survey/course/python-basics-modules-packages/liked/?from=lesson-title
https://realpython.com/feedback/survey/course/python-basics-modules-packages/disliked/?from=lesson-title
Contentshttps://realpython.com/lessons/introducing-python-packages/#description
Transcripthttps://realpython.com/lessons/introducing-python-packages/#transcript
Discussion (2)https://realpython.com/lessons/introducing-python-packages/#discussion
00:00https://realpython.com/lessons/introducing-python-packages/#t=0.735
Modules allow you to divide a program into individual files that can be reusedhttps://realpython.com/lessons/introducing-python-packages/#t=0.735
as needed.https://realpython.com/lessons/introducing-python-packages/#t=5.265
Related code can be organized into a single module and kept separate from otherhttps://realpython.com/lessons/introducing-python-packages/#t=6.575
code.https://realpython.com/lessons/introducing-python-packages/#t=11.135
00:11https://realpython.com/lessons/introducing-python-packages/#t=11.57
Packages take this organizational structure one step further.https://realpython.com/lessons/introducing-python-packages/#t=11.57
In Python,https://realpython.com/lessons/introducing-python-packages/#t=17.085
a package is basically a folder that contains one or more Python modules.https://realpython.com/lessons/introducing-python-packages/#t=18.305
On the slide, you can see an example of a package.https://realpython.com/lessons/introducing-python-packages/#t=22.805
00:25https://realpython.com/lessons/introducing-python-packages/#t=25.445
The structure looks like this.https://realpython.com/lessons/introducing-python-packages/#t=25.445
There is a folder named mypackage/,https://realpython.com/lessons/introducing-python-packages/#t=26.972
and in the folder there are three Python files.https://realpython.com/lessons/introducing-python-packages/#t=29.925
One is named module1.py,https://realpython.com/lessons/introducing-python-packages/#t=32.638
and another is named module2.py.https://realpython.com/lessons/introducing-python-packages/#t=34.965
00:37https://realpython.com/lessons/introducing-python-packages/#t=37.925
And there is also a Python file that looks a bit different.https://realpython.com/lessons/introducing-python-packages/#t=37.925
There is a file named __init__.py,https://realpython.com/lessons/introducing-python-packages/#t=41.635
or short, dunder init dot py.https://realpython.com/lessons/introducing-python-packages/#t=45.035
00:50https://realpython.com/lessons/introducing-python-packages/#t=50.525
To make a folder a regular Python package,https://realpython.com/lessons/introducing-python-packages/#t=50.525
the folder must contain an __init__ module.https://realpython.com/lessons/introducing-python-packages/#t=53.045
The __init__.pyhttps://realpython.com/lessons/introducing-python-packages/#t=56.485
module doesn’t need to contain any code.https://realpython.com/lessons/introducing-python-packages/#t=61.245
01:04https://realpython.com/lessons/introducing-python-packages/#t=64.102
It only needs to existhttps://realpython.com/lessons/introducing-python-packages/#t=64.102
so that Python recognizes the mypackage/ folder as a Python package.https://realpython.com/lessons/introducing-python-packages/#t=65.845
01:11https://realpython.com/lessons/introducing-python-packages/#t=71.385
With this package structure in mind, let’s create your first package.https://realpython.com/lessons/introducing-python-packages/#t=71.385
Dec. 5, 2023https://realpython.com/lessons/introducing-python-packages/#comment-927180c0-3289-4bc7-bab0-5ba2a6019818
Dec. 5, 2023https://realpython.com/lessons/introducing-python-packages/#comment-82ad9890-abd5-4daa-91fe-a7f460b6e0b2
Become a Memberhttps://realpython.com/account/join/
https://realpython.com/lessons/namespace-advantages/
Overviewhttps://realpython.com/courses/python-basics-modules-packages/
https://realpython.com/lessons/creating-python-packages/
Python Basics: Modules and Packages (Overview) 01:44 https://realpython.com/videos/modules-packages-overview/
Working With Modules 00:27 https://realpython.com/videos/working-with-python-modules/
Creating Modules 01:55 https://realpython.com/videos/creating-python-modules/
Calling an Imported Object 01:45 https://realpython.com/lessons/call-imported-object/
Understanding Namespaces 00:27 https://realpython.com/lessons/understanding-namespaces/
Accessing Objects From Inside a Module 01:02 https://realpython.com/lessons/accessing-module-objects/
Using Dot Notation for Imported Objects 00:54 https://realpython.com/lessons/dot-notation-imported-objects/
Adding Objects to a Namespace 01:29 https://realpython.com/lessons/adding-namespace-objects/
Breaking a Program Into Modules 00:45 https://realpython.com/lessons/break-program-into-modules/
Exercise: Import and Use a Module 08:00 https://realpython.com/lessons/exercise-import-use-module/
Exercise: Fix a Broken Import 08:00 https://realpython.com/lessons/exercise-fix-broken-import/
Renaming an Imported Module 02:42 https://realpython.com/lessons/rename-imported-module/
Importing Objects From a Module 03:20 https://realpython.com/lessons/import-module-objects/
Summarizing Import Statements 03:18 https://realpython.com/lessons/summarizing-import-statements/
Exercise: Import Specific Functions 08:00 https://realpython.com/lessons/exercise-import-specific-functions/
Taking Advantage of Namespaces 01:04 https://realpython.com/lessons/namespace-advantages/
Introducing Packages 01:16 https://realpython.com/lessons/introducing-python-packages/
Creating Packages 03:21 https://realpython.com/lessons/creating-python-packages/
Working With Packages 04:16 https://realpython.com/lessons/working-with-packages/
Summarizing Import Statements for Packages 01:40 https://realpython.com/lessons/package-import-statements/
Importing Modules From Subpackages 03:57 https://realpython.com/lessons/importing-modules-from-subpackages/
Exercise: Import From a Package 08:00 https://realpython.com/lessons/exercise-import-from-package/
Python Basics: Modules and Packages (Exercises) 02:55 https://realpython.com/lessons/python-modules-packages-exercises/
Python Basics: Modules and Packages (Quiz) 05:30 https://realpython.com/lessons/modules-packages-quiz/
Python Basics: Modules and Packages (Summary) 01:37 https://realpython.com/lessons/modules-packages-summary/
Privacy Policyhttps://realpython.com/privacy-policy/

Viewport: width=device-width, initial-scale=1, shrink-to-fit=no, viewport-fit=cover

Robots: max-image-preview:large


URLs of crawlers that visited me.