Insights Blog
-- Browse All Articles --
Physics Articles
Physics Tutorials
Physics Guides
Physics FAQ
Math Articles
Math Tutorials
Math Guides
Math FAQ
Education Articles
Education Guides
Bio/Chem Articles
Technology Guides
Computer Science Tutorials
Forums
Chemistry
Biology and Medical
Earth Sciences
Computer Science
Computing and Technology
DIY Projects
Trending
Featured Threads
Log in
Register
What's new
Search
Search
Search titles only
By:
Chemistry
Biology and Medical
Earth Sciences
Computer Science
Computing and Technology
DIY Projects
Menu
Log in
Register
Navigation
More options
Contact us
Close Menu
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Forums
Other Sciences
Programming and Computer Science
Confused about name binding in python
Reply to thread
Message
[QUOTE="shivajikobardan, post: 6567811, member: 695701"] [B]TL;DR Summary:[/B] name binding concept in python (I Didn't use code formatting here as I felt it was not necessary) I have read multiple textbooks, articles and watched multiple videos about name binding in python. Till now what I understand can be summarized in this-: x=1 means name x is binded to object "1" z=x and we know x=1 => z=1 so z=x means z is binded to object 1 then, y=2 #name y binds to object "2" x=y #name x binds to object "2" This is all I understand about name binding. I can't see how this simple concept can have any use in programming. This looks like math to me. [LIST=1] [*]I need 1 example program to understand things I asked here. [*]I need 1 application of this concept [*]I need a figure depicting what is exactly happening when we declare variable x=1 and when we later do x=5 then we do y=2 then x=y. What is happening inside the system? I want that with figures. [/LIST] [/QUOTE]
Insert quotes…
Post reply
Forums
Other Sciences
Programming and Computer Science
Confused about name binding in python
Back
Top