René's URL Explorer Experiment


Title: Python Basics: Scopes (Summary) (Video) – Real Python

Open Graph Title: Python Basics: Scopes (Summary) – Real Python

Description: Congratulations, you’ve made it to the last lesson of the Python Basics: Scope course. In this course, you learned what scopes are and how they work in Python, why it’s important to know about the Python scope, and what the LEGB rule is, and how…

Open Graph Description: Congratulations, you’ve made it to the last lesson of the Python Basics: Scope course. In this course, you learned what scopes are and how they work in Python, why it’s important to know about the Python scope, and what the LEGB rule is, and how…

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

X: @realpython

direct link

Domain: realpython.com


Hey, it has json ld scripts:
  {
    "@context": "https://schema.org",
    "@type": "VideoObject",
    "name": "Python Basics: Scopes (Summary)",
    "description": "Congratulations, you’ve made it to the last lesson of the Python Basics: Scope course. In this course, you learned what scopes are and how they work in Python, why it’s important to know about the Python scope, and what the LEGB rule is, and how…",
    "thumbnailUrl": ["https://files.realpython.com/media/Scopes_Watermarked.685961c819c9.jpg"],
    "uploadDate": "2022-11-01T14:00:00+00:00",
    "duration": "PT2M31S",
    
    "potentialAction": {
      "@type": "SeekToAction",
      "target": "https://realpython.com/lessons/python-basics-scopes-summary/#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/Scopes_Watermarked.685961c819c9.jpg
og:imagehttps://files.realpython.com/media/Scopes_Watermarked.685961c819c9.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/python-basics-scopes-summary/
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/python-basics-scopes-summary/
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%2Fpython-basics-scopes-summary%2F
Unlock This Lessonhttps://realpython.com/account/join/?utm_source=rp_lesson&utm_content=python-basics-scopes
Unlock This Lessonhttps://realpython.com/account/join/?utm_source=rp_lesson&utm_content=python-basics-scopes
https://realpython.com/courses/python-basics-scopes/#team
Python Basics: Scopeshttps://realpython.com/courses/python-basics-scopes/
Philipp Acsanyhttps://realpython.com/courses/python-basics-scopes/#team
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/
Ask a Questionhttps://realpython.com/lessons/python-basics-scopes-summary/#discussion
https://realpython.com/feedback/survey/course/python-basics-scopes/liked/?from=lesson-title
https://realpython.com/feedback/survey/course/python-basics-scopes/disliked/?from=lesson-title
Contentshttps://realpython.com/lessons/python-basics-scopes-summary/#description
Transcripthttps://realpython.com/lessons/python-basics-scopes-summary/#transcript
Discussionhttps://realpython.com/lessons/python-basics-scopes-summary/#discussion
Unlock This Lessonhttps://realpython.com/account/join/?utm_source=rp_lesson_preview&utm_content=python-basics-scopes
Sign-Inhttps://realpython.com/account/login/?intent=locked_lesson&next=%2Flessons%2Fpython-basics-scopes-summary%2F
Unlock This Lessonhttps://realpython.com/account/join/?utm_source=rp_lesson_preview&utm_content=python-basics-scopes
Sign-Inhttps://realpython.com/account/login/?intent=locked_lesson&next=%2Flessons%2Fpython-basics-scopes-summary%2F
00:00https://realpython.com/lessons/python-basics-scopes-summary/#t=0.84
Congratulations,https://realpython.com/lessons/python-basics-scopes-summary/#t=0.84
you’ve made it to the last lesson of the Python Basics: Scope course.https://realpython.com/lessons/python-basics-scopes-summary/#t=1.7
00:06https://realpython.com/lessons/python-basics-scopes-summary/#t=6.78
In this course, you learned what scopes are and how they work in Python,https://realpython.com/lessons/python-basics-scopes-summary/#t=6.78
why it’s important to know about the Python scope, and what the LEGBhttps://realpython.com/lessons/python-basics-scopes-summary/#t=11.15
rule is, and how Python uses it to resolve names.https://realpython.com/lessons/python-basics-scopes-summary/#t=15.97
00:20https://realpython.com/lessons/python-basics-scopes-summary/#t=20.19
You also learned how to use the global statement and how to implement goodhttps://realpython.com/lessons/python-basics-scopes-summary/#t=20.19
programming practices to actually prevent using the global statement.https://realpython.com/lessons/python-basics-scopes-summary/#t=25.13
00:31https://realpython.com/lessons/python-basics-scopes-summary/#t=31.04
Here are a few additional resources for you to dig deeper into the topics thathttps://realpython.com/lessons/python-basics-scopes-summary/#t=31.04
we tackled in this course.https://realpython.com/lessons/python-basics-scopes-summary/#t=35.49
In Namespaces and Scope in Python,https://realpython.com/lessons/python-basics-scopes-summary/#t=37.458
you learn about Python namespaces,https://realpython.com/lessons/python-basics-scopes-summary/#t=40.03
the structures used to store and organize the symbolic names createdhttps://realpython.com/lessons/python-basics-scopes-summary/#t=42.11
during execution of a Python program.https://realpython.com/lessons/python-basics-scopes-summary/#t=46.13
00:49https://realpython.com/lessons/python-basics-scopes-summary/#t=49.19
You’ll learn when namespaces are created, how they are implemented,https://realpython.com/lessons/python-basics-scopes-summary/#t=49.19
and how they define variable scope.https://realpython.com/lessons/python-basics-scopes-summary/#t=52.95
Another course on the topic of scopes is Exploring Scopes and Closures inhttps://realpython.com/lessons/python-basics-scopes-summary/#t=55.82
Python.https://realpython.com/lessons/python-basics-scopes-summary/#t=60.61
01:01https://realpython.com/lessons/python-basics-scopes-summary/#t=61.17
In this Code Conversation video course,https://realpython.com/lessons/python-basics-scopes-summary/#t=61.17
you’ll take a deep dive into how scopes and closures work in Python.https://realpython.com/lessons/python-basics-scopes-summary/#t=64.2
To do this, you’ll use a debugger to walk through some sample code,https://realpython.com/lessons/python-basics-scopes-summary/#t=68.82
and then you’ll take a peek under the hood to see how Python holds variableshttps://realpython.com/lessons/python-basics-scopes-summary/#t=72.59
internally.https://realpython.com/lessons/python-basics-scopes-summary/#t=76.69
01:17https://realpython.com/lessons/python-basics-scopes-summary/#t=77.449
If you want to learn more about nested functions,https://realpython.com/lessons/python-basics-scopes-summary/#t=77.449
then our Python Inner Functions tutorial is perfect for you.https://realpython.com/lessons/python-basics-scopes-summary/#t=80.61
You’ll learn what inner functions are in Python, how to define them,https://realpython.com/lessons/python-basics-scopes-summary/#t=84.79
and what their main use cases are.https://realpython.com/lessons/python-basics-scopes-summary/#t=88.51
01:31https://realpython.com/lessons/python-basics-scopes-summary/#t=91.251
And last but not least,https://realpython.com/lessons/python-basics-scopes-summary/#t=91.251
f-strings.https://realpython.com/lessons/python-basics-scopes-summary/#t=93.62
As of Python 3.6, f-strings are a great new way to formathttps://realpython.com/lessons/python-basics-scopes-summary/#t=94.416
strings.https://realpython.com/lessons/python-basics-scopes-summary/#t=98.61
Not only are they more readable and concise,https://realpython.com/lessons/python-basics-scopes-summary/#t=99.19
f-strings are also evaluated at runtime,https://realpython.com/lessons/python-basics-scopes-summary/#t=102.75
so you can put Python expressions in them.https://realpython.com/lessons/python-basics-scopes-summary/#t=105.82
01:48https://realpython.com/lessons/python-basics-scopes-summary/#t=108.36
This allows you to do some nifty things.https://realpython.com/lessons/python-basics-scopes-summary/#t=108.36
In this tutorial,https://realpython.com/lessons/python-basics-scopes-summary/#t=110.98
you will learn all the cool things that you can do with f-strings.https://realpython.com/lessons/python-basics-scopes-summary/#t=112.13
01:57https://realpython.com/lessons/python-basics-scopes-summary/#t=117.46
With your knowledge of scopes in the back seat,https://realpython.com/lessons/python-basics-scopes-summary/#t=117.46
you are well equipped to continue your Python journey.https://realpython.com/lessons/python-basics-scopes-summary/#t=119.63
You’re now able to take advantage of Python scopes to avoid or at leasthttps://realpython.com/lessons/python-basics-scopes-summary/#t=122.02
minimize bugs related to name collision.https://realpython.com/lessons/python-basics-scopes-summary/#t=127.03
02:09https://realpython.com/lessons/python-basics-scopes-summary/#t=129.41
Now grab your sunglasses and start coding.https://realpython.com/lessons/python-basics-scopes-summary/#t=129.41
Well, actually,https://realpython.com/lessons/python-basics-scopes-summary/#t=132.413
I don’t know if it’s a good idea to wear sunglasses while coding.https://realpython.com/lessons/python-basics-scopes-summary/#t=133.8
I mean, yeah,https://realpython.com/lessons/python-basics-scopes-summary/#t=136.844
it looks cool, but I don’t know if you can see the screen properly.https://realpython.com/lessons/python-basics-scopes-summary/#t=137.49
02:21https://realpython.com/lessons/python-basics-scopes-summary/#t=141.644
Yeah.https://realpython.com/lessons/python-basics-scopes-summary/#t=141.644
Anyway, you know what’s best for you.https://realpython.com/lessons/python-basics-scopes-summary/#t=142.01
My name is Philipp.https://realpython.com/lessons/python-basics-scopes-summary/#t=143.582
It was fun being your instructor today.https://realpython.com/lessons/python-basics-scopes-summary/#t=144.41
Have safe travels and see you next time at realpython.com.https://realpython.com/lessons/python-basics-scopes-summary/#t=146.56
Become a Memberhttps://realpython.com/account/join/
https://realpython.com/lessons/python-basics-scopes-quiz/
Overviewhttps://realpython.com/courses/python-basics-scopes/
Python Basics: Scopes (Overview) 01:44 https://realpython.com/videos/python-basics-scopes-overview/
Understanding Scope 02:44 https://realpython.com/videos/understanding-scope/
Introducing the LEGB Rule 01:12 https://realpython.com/lessons/introducing-the-legb-rule/
Exploring the Local, Enclosing, and Global Scope 05:33 https://realpython.com/lessons/local-enclosing-global-scope/
Inspecting the Built-in Scope 03:14 https://realpython.com/lessons/built-in-scope/
Exercise: Fix the Shadowed Built-in 08:00 https://realpython.com/lessons/exercise-fix-shadowed-builtin/
Using the global Statement 04:09 https://realpython.com/lessons/the-global-statement/
Preventing Pitfalls 02:21 https://realpython.com/lessons/preventing-scope-pitfalls/
Exercise: Fix the Global Counter 08:00 https://realpython.com/lessons/exercise-fix-global-counter/
Python Basics: Scopes (Quiz) 04:00 https://realpython.com/lessons/python-basics-scopes-quiz/
Python Basics: Scopes (Summary) 02:31 https://realpython.com/lessons/python-basics-scopes-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.