<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title>Bing: Python Function Scope</title><link>http://www.bing.com:80/search?q=Python+Function+Scope</link><description>Search results</description><image><url>http://www.bing.com:80/s/a/rsslogo.gif</url><title>Python Function Scope</title><link>http://www.bing.com:80/search?q=Python+Function+Scope</link></image><copyright>Copyright © 2026 Microsoft. All rights reserved. These XML results may not be used, reproduced or transmitted in any manner or for any purpose other than rendering Bing results within an RSS aggregator for your personal, non-commercial use. Any other use of these results requires express written permission from Microsoft Corporation. By accessing this web page or using these results in any manner whatsoever, you agree to be bound by the foregoing restrictions.</copyright><item><title>Python Scope - W3Schools</title><link>https://www.w3schools.com/python/python_scope.asp</link><description>If you operate with the same variable name inside and outside of a function, Python will treat them as two separate variables, one available in the global scope (outside the function) and one available in the local scope (inside the function):</description><pubDate>Mon, 16 Nov 2026 15:49:00 GMT</pubDate></item><item><title>Python Scope and the LEGB Rule: Resolving Names in Your Code</title><link>https://realpython.com/python-scope-legb-rule/</link><description>This scope contains names such as built-in functions, exceptions, and other attributes that are built into Python. Names in this scope are also available from everywhere in your code.</description><pubDate>Mon, 16 Nov 2026 09:22:00 GMT</pubDate></item><item><title>python - Short description of the scoping rules - Stack Overflow</title><link>https://stackoverflow.com/questions/291978/short-description-of-the-scoping-rules</link><description>If a name is ever assigned to in the current scope (except in the class scope), it will be considered belonging to that scope, otherwise it will be considered to belonging to any enclosing scope that assigns to the variable (it might not be assigned yet, or not at all), or finally the global scope.</description><pubDate>Fri, 13 Nov 2026 16:14:00 GMT</pubDate></item><item><title>Python Scope of Variables - GeeksforGeeks</title><link>https://www.geeksforgeeks.org/python/python-scope-of-variables/</link><description>Global variables are the ones that are defined and declared outside any function and are not specified to any function. They can be used by any part of the program.</description><pubDate>Wed, 11 Nov 2026 12:27:00 GMT</pubDate></item><item><title>Scope - Learn Python</title><link>https://www.online-python.com/learn/scope</link><description>Where a variable is created decides where it can be used. That's called its scope. Understanding scope explains some confusing errors, and it helps you write functions that don't accidentally interfere with each other. A variable created inside a function is local to that function.</description><pubDate>Sat, 14 Nov 2026 16:48:00 GMT</pubDate></item><item><title>Python Variable Scope: Local, Global, Nonlocal and LEGB</title><link>https://pythonguides.com/python-variable-scope/</link><description>Scope decides where a Python variable can be seen: a name created inside a function is local, and a name at the top of a file is global. Python looks names up in Local, Enclosing, Global, then Built-in scope, the LEGB rule.</description><pubDate>Mon, 16 Nov 2026 20:28:00 GMT</pubDate></item><item><title>Namespaces and Scope in Python - GeeksforGeeks</title><link>https://www.geeksforgeeks.org/python/namespaces-and-scope-in-python/</link><description>Every variable, function and class is associated with a name. As programs grows, Python needs a systematic way to manage these names and determine where they can be accessed. This is achieved through namespaces and scope, which help organize names within different parts of a program.</description><pubDate>Tue, 10 Nov 2026 01:22:00 GMT</pubDate></item><item><title>Functions and Scopes (Learning Path) – Real Python</title><link>https://realpython.com/learning-paths/functions-and-scopes/</link><description>In this learning path, you’ll build a strong foundation in Python functions and scope. You’ll start by defining functions and working with parameters, including optional arguments, *args, **kwargs, and special / and * parameters.</description><pubDate>Fri, 30 Oct 2026 02:54:00 GMT</pubDate></item><item><title>Python Scope - W3Schools</title><link>https://w3schools.dev/python/python_scope.asp</link><description>If you operate with the same variable name inside and outside of a function, Python will treat them as two separate variables, one available in the global scope (outside the function) and one available in the local scope (inside the function):</description><pubDate>Mon, 16 Nov 2026 00:18:00 GMT</pubDate></item><item><title>Python Scope - NetworkLessons.com</title><link>https://networklessons.com/python/python-scope</link><description>This lesson explains the Python local and global scope for variables and how you can use the global parameter to make function variables global.</description><pubDate>Mon, 16 Nov 2026 05:19:00 GMT</pubDate></item></channel></rss>