René's URL Explorer Experiment


Title: Python Basics: Scopes – Real Python

Open Graph Title: Python Basics: Scopes – Real Python

Description: In this video course, you'll learn what scope is and why it's important to coding functions and loops in Python. You'll also get to know the LEGB rule.

Open Graph Description: In this video course, you'll learn what scope is and why it's important to coding functions and loops in Python. You'll also get to know the LEGB rule.

Opengraph URL: https://realpython.com/courses/python-basics-scopes/

X: @realpython

direct link

Domain: realpython.com


Hey, it has json ld scripts:
{
  "@context": "https://schema.org",
  "@type": "Course",
  "@id": "https://realpython.com/courses/python-basics-scopes/",
  "url": "https://realpython.com/courses/python-basics-scopes/",
  "name": "Python Basics: Scopes",
  "description": "In this video course, you'll learn what scope is and why it's important to coding functions and loops in Python. You'll also get to know the LEGB rule.",
  "availableLanguage": [
    "en"
  ],
  "educationalLevel": "Beginner",
  "educationalCredentialAwarded": {
    "@type": "EducationalOccupationalCredential",
    "credentialCategory": "Certificate",
    "name": "Real Python Certificate of Completion"
  },
  "hasCourseInstance": [
    {
      "@type": "CourseInstance",
      "courseMode": "Online",
      "courseWorkload": "PT93M27S",
      "instructor": {
        "@type": "Person",
        "name": "Philipp Acsany",
        "image": "https://realpython.com/cdn-cgi/image/width=1920,height=1920,fit=crop,gravity=auto,format=auto/https://files.realpython.com/media/pacsany.19bcf16f5a00.jpg",
        "url": "https://realpython.com/team/pacsany/",
        "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/Scopes_Watermarked.685961c819c9.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": "Python Basics: Scopes"
    },
    {
      "@type": "Syllabus",
      "name": "Reviewing What You've Learned"
    }
  ],
  "offers": [
    {
      "@type": "Offer",
      "category": "Subscription"
    }
  ],
  "datePublished": "2022-11-01",
  "dateModified": "2026-07-03"
}

authorReal Python
theme-color#18354c
color-schemelight dark
twitter:cardsummary_large_image
twitter:imagehttps://files.realpython.com/media/Scopes_Watermarked.685961c819c9.jpg
og:imagehttps://files.realpython.com/media/Scopes_Watermarked.685961c819c9.jpg
twitter:creator@realpython
og:typearticle
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/courses/python-basics-scopes/
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/courses/python-basics-scopes/
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=%2Fcourses%2Fpython-basics-scopes%2F
https://realpython.com/courses/python-basics-scopes/continue/
https://realpython.com/courses/python-basics-scopes/#team
Philipp Acsanyhttps://realpython.com/courses/python-basics-scopes/#team
basicshttps://realpython.com/tutorials/basics/
pythonhttps://realpython.com/tutorials/python/
Start Now https://realpython.com/courses/python-basics-scopes/continue/
Rate and Reviewhttps://realpython.com/feedback/survey/course/python-basics-scopes/feedback/?from=course
functions and loopshttps://realpython.com/courses/python-basics-functions-loops/
Python Basics: A Practical Introduction to Python 3https://realpython.com/products/python-basics-book/
Python Basics courseshttps://realpython.com/learning-paths/python-basics/
IDLEhttps://realpython.com/python-idle/
interact with Pythonhttps://realpython.com/interacting-with-python/
Python Basics: Setting Up Pythonhttps://realpython.com/courses/setting-up-python/
Q&A With Python Experts: Ask a Questionhttps://realpython.com/courses/python-basics-scopes/discussion/
Course Slides (.pdf)https://realpython.com/courses/python-basics-scopes/downloads/python-basics-scopes-slides/
Sample Code (.zip)https://realpython.com/courses/python-basics-scopes/downloads/python-basics-scopes-code/
Python Basics: Introduction to Pythonhttps://realpython.com/learning-paths/python-basics/
Start Nowhttps://realpython.com/courses/python-basics-scopes/continue/
1. Python Basics: Scopes (Overview)01:44 https://realpython.com/videos/python-basics-scopes-overview/
2. Understanding Scope02:44 https://realpython.com/videos/understanding-scope/
3. Introducing the LEGB Rule01:12 https://realpython.com/lessons/introducing-the-legb-rule/
4. Exploring the Local, Enclosing, and Global Scope05:33 https://realpython.com/lessons/local-enclosing-global-scope/
5. Inspecting the Built-in Scope03:14 https://realpython.com/lessons/built-in-scope/
6. Exercise: Fix the Shadowed Built-in08:00 https://realpython.com/lessons/exercise-fix-shadowed-builtin/
7. Using the global Statement04:09 https://realpython.com/lessons/the-global-statement/
8. Preventing Pitfalls02:21 https://realpython.com/lessons/preventing-scope-pitfalls/
9. Exercise: Fix the Global Counter08:00 https://realpython.com/lessons/exercise-fix-global-counter/
1. Python Basics: Scopes (Quiz)04:00 https://realpython.com/lessons/python-basics-scopes-quiz/
2. Python Basics: Scopes (Summary)02:31 https://realpython.com/lessons/python-basics-scopes-summary/
Start Nowhttps://realpython.com/videos/python-basics-scopes-overview/
https://realpython.com/team/pacsany/
» More about Philipphttps://realpython.com/team/pacsany/
https://realpython.com/team/asantos/
Aldrenhttps://realpython.com/team/asantos/
https://realpython.com/team/cbailey/
Christopherhttps://realpython.com/team/cbailey/
https://realpython.com/team/damos/
Davidhttps://realpython.com/team/damos/
https://realpython.com/team/dbader/
Danhttps://realpython.com/team/dbader/
https://realpython.com/team/fheisler/
Fletcherhttps://realpython.com/team/fheisler/
https://realpython.com/team/icurrie/
Ianhttps://realpython.com/team/icurrie/
https://realpython.com/team/jjablonski/
Joannahttps://realpython.com/team/jjablonski/
https://realpython.com/team/jschmitt/
Jacobhttps://realpython.com/team/jschmitt/
https://realpython.com/team/kfinegan/
Katehttps://realpython.com/team/kfinegan/
https://realpython.com/team/mbreuss/
Martinhttps://realpython.com/team/mbreuss/
https://realpython.com/team/tmoore/
Tappanhttps://realpython.com/team/tmoore/
https://realpython.com/courses/basics-conditional-logic-control-flow/?utm_source=realpython&utm_medium=web&utm_campaign=related-course&utm_content=python-basics-scopes
Python Basics: Conditional Logic and Control Flowhttps://realpython.com/courses/basics-conditional-logic-control-flow/?utm_source=realpython&utm_medium=web&utm_campaign=related-course&utm_content=python-basics-scopes
https://realpython.com/courses/python-basics-exercises-scopes/?utm_source=realpython&utm_medium=web&utm_campaign=related-course&utm_content=python-basics-scopes
Python Basics Exercises: Scopeshttps://realpython.com/courses/python-basics-exercises-scopes/?utm_source=realpython&utm_medium=web&utm_campaign=related-course&utm_content=python-basics-scopes
https://realpython.com/courses/python-basics-lists-tuples/?utm_source=realpython&utm_medium=web&utm_campaign=related-course&utm_content=python-basics-scopes
Python Basics: Lists and Tupleshttps://realpython.com/courses/python-basics-lists-tuples/?utm_source=realpython&utm_medium=web&utm_campaign=related-course&utm_content=python-basics-scopes
← Browse All Courseshttps://realpython.com/search?kind=course&_from=course_detail
Start Herehttps://realpython.com/start-here/
Your Learning Planhttps://realpython.com/account/learning-plan/
Browse Topicshttps://realpython.com/tutorials/all/
Learning Resourceshttps://realpython.com/search
Python Referencehttps://realpython.com/ref/
Cheat Sheetshttps://realpython.com/cheatsheets/
Support Centerhttps://support.realpython.com
Mentor AIhttps://realpython.com/mentor/
Learning Pathshttps://realpython.com/learning-paths/
Tutorialshttps://realpython.com/tutorials/
Courseshttps://realpython.com/courses/
Quizzeshttps://realpython.com/quizzes/
Coding Exerciseshttps://realpython.com/coding-exercises/
Live Courseshttps://realpython.com/live/
Bookshttps://realpython.com/books/
Data Sciencehttps://realpython.com/start/data-science-analytics/
AI Apps & Agentshttps://realpython.com/start/ai-apps-agents/
Machine Learninghttps://realpython.com/start/machine-learning/
Automationhttps://realpython.com/start/scripting-automation/
Web Developmenthttps://realpython.com/start/web-development-apis/
Cybersecurityhttps://realpython.com/start/cybersecurity/
Podcasthttps://realpython.com/podcasts/rpp/
Newsletterhttps://realpython.com/newsletter/
Community Chathttps://realpython.com/community/
Office Hourshttps://realpython.com/office-hours/
Learner Storieshttps://realpython.com/learner-stories/
Plans & Pricinghttps://realpython.com/account/join/
Team Planshttps://realpython.com/account/join-team/
For Businesshttps://realpython.com/account/join-team/inquiry/
For Schoolshttps://realpython.com/account/join-team/education-inquiry/
Reviewshttps://realpython.com/learner-stories/
About Ushttps://realpython.com/about/
Teamhttps://realpython.com/team/
Mission & Valueshttps://realpython.com/mission/
Editorial Guidelineshttps://realpython.com/editorial-guidelines/
Sponsorshipshttps://realpython.com/sponsorships/
Careershttps://realpython.workable.com
Press Kithttps://realpython.com/media-kit/
Merchhttps://realpython.com/merch
https://www.youtube.com/realpython
https://x.com/realpython
https://www.linkedin.com/company/realpython-com
https://www.facebook.com/LearnRealPython
https://github.com/realpython/
Privacy Policyhttps://realpython.com/privacy-policy/
Terms of Usehttps://realpython.com/terms/
Securityhttps://realpython.com/security/
Contacthttps://realpython.com/contact/
https://realpython.com/

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.