Very Informative video sir...Thanks a Lot. Also, a humble request to all my fellow learners, it is evident that only ten percent viewers are liking or commenting on this series....guys this man is giving enormous value to us....trust me , i have taken paid as well as international courses but the way he is teaching and elucidating such complex topics in Easy manner , it is rare. Th e least we can do is to motivate him through liking, subscribing, and sharing his content. Thank you.
even though i already know these concepts im still watching it and appreciating this playlist. It was unfortunate for me that i didn't have these videos when i started learning python and had to learn hardway and took so much time which shouldn't be the case. Thank you sir 😄
I am learning these concepts from docs and got overwhelmed, suddenly reminded about you and came here, this is so clear now, going to learn from next video of Object oriented programming.
A great series from basic to advanced as he gives scope to 30 minutes that is finished by all the tutors in theory he is providing the implementation. A great Teacher, Thank you for this series.
Thank you sir for bringing us a top class python series , its way better than the Nptel python series which i left just after 2-3 lecture because it was so boring and after watching that i thought i will never be able to understand python, but after watching your lecture i am able to understand the things better and able to gain some confidence too.
Learning python day 11 - present sir 00:02 Understanding scopes and namespaces in Python. 02:17 Scopes and closure in Python 06:08 Functions create separate memory spaces 07:52 Understanding scope and closure in Python 12:09 Understanding function parameter and scoping in Python 14:35 Global scope and referencing in Python 19:39 Understanding scopes and closure in Python 21:51 Understanding scopes and closure in Python 25:50 Understanding function definition and reference in Python 27:46 Scopes and closure in Python
awesome explanation of closure.....not to think much just remember this example n apply the basic to any other closure case....things will fall in place automatically....
sir i alredy learnd python from some one else but because of your teaching style i watched this series even i alredy know python please make videos on data science with python please sir
16:16 I guess it’s planned sir😂. Even I can clearly see the function is not called then it’s impossible that you will miss it. So obviously you set that thing up so that the logic gets rooted in our brains . Brilliant teaching ❤
Sir at 26:40, chaicoder returns actual(x) defination, both are also taking a single argument, can we say these are curry functions, if not why is closer different from curry functions.
Getting confidence using python now, because python is not self explainatory, like, scope, like blocks ( as it is not using public, private, words, ie.e)
I have a question related to scope after going through class and object a = 100 def add(x,y) print(x+y) class MyClass: def mymethod(self): print(a) add(1,6) Can I access the global variable a and function add inside a instance method(or any where in class body) . If yes can you please explain this.
it's great comparison of JavaScript every language have same concept only the syntax different , even we are using advance concept of other language in JavaScript but we don't aware of this and theoretically we are not able to describe most of time
am watching this video after 3 months of upload date..feeling bad to see the comment target still has not reached yet for the quality of content he is been providing...
name = "test1" def test(): print(name) name = "test2" print(name) I expected the output to be: test1 test2 But I got this error: UnboundLocalError: local variable 'name' referenced before assignment Please explain this. (If Python is an interpreted language, then the error shouldn't occur.)
But I didn't want to change value of name globally and not even want to change variable's name (name). And if python is interpreted language then why this error is occurring?
Very Informative video sir...Thanks a Lot.
Also, a humble request to all my fellow learners, it is evident that only ten percent viewers are liking or commenting on this series....guys this man is giving enormous value to us....trust me , i have taken paid as well as international courses but the way he is teaching and elucidating such complex topics in Easy manner , it is rare. Th e least we can do is to motivate him through liking, subscribing, and sharing his content. Thank you.
So nice of you
@@chaiaurcode keep Going sir...we are with you.
Completely agree with you on this
👍
sir doing awesome job to teach us
Out of the series in python, yours is the best one and in-depth
Thank you very much sir
even though i already know these concepts im still watching it and appreciating this playlist. It was unfortunate for me that i didn't have these videos when i started learning python and had to learn hardway and took so much time which shouldn't be the case. Thank you sir 😄
Same
Sir, let's start with Django after completing the Python series. ❤
Initially it was very complex to understand the working of closures. But, after watching the 2nd time it was clear. Thank you hitesh sir.
I am learning these concepts from docs and got overwhelmed, suddenly reminded about you and came here, this is so clear now, going to learn from next video of Object oriented programming.
A great series from basic to advanced as he gives scope to 30 minutes that is finished by all the tutors in theory he is providing the implementation. A great Teacher, Thank you for this series.
Because of you Hitesh sir, I have develop my interest in coding. You are rare.
Sir,You bring revolution by teaching such complex and tough topics in a easy and simple language.
your style and passion to take everything in depth is one of the thing which makes me crazy for programming
Idk but why this course is too underrated....In depth explanation, too easy to understand and implement , concepts are cleared for beginners too.
Finally Scopes & Closure simplified......Thanks Hitesh sir ji....Respect from Bangalore...
Hitest ji mera Javascript ka closures ka doubt bhi clear ho gaya, Hm hm magic, God bless you really helpful😆😆
Thank you sir for bringing us a top class python series , its way better than the Nptel python series which i left just after 2-3 lecture because it was so boring and after watching that i thought i will never be able to understand python, but after watching your lecture i am able to understand the things better and able to gain some confidence too.
Learning python day 11 - present sir
00:02 Understanding scopes and namespaces in Python.
02:17 Scopes and closure in Python
06:08 Functions create separate memory spaces
07:52 Understanding scope and closure in Python
12:09 Understanding function parameter and scoping in Python
14:35 Global scope and referencing in Python
19:39 Understanding scopes and closure in Python
21:51 Understanding scopes and closure in Python
25:50 Understanding function definition and reference in Python
27:46 Scopes and closure in Python
best python series on youtube so far
Closure explaination is very smooth.
chal jhuthe
@@_little_master1874 Closure ache se padhle, decorators smjhne me asani hogi... 😅
awesome explanation of closure.....not to think much just remember this example n apply the basic to any other closure case....things will fall in place automatically....
This person is a gem in teaching programming 🎉
num = int(input("Enter Number: "))
def power(x):
def number(num):
return num ** x
return number
sqr = power(2)
cube = power(3)
print(sqr(num))
print(cube(num))
Input: 3
Output: 9 and 27
Scope and closure concept explained well. Thanks for the video.
Mza A Gya😎😎
Great Sir. Thanks very much. Every student in engineering college should watch this.
awesome video on closure. I can able to relate with closure in JS from chai aur javascript series. Amazing teaching SirJi !!!💯💯💯💥💥💥💥💥💥
It's very first time I came these far in any tutorial series!
Python rocks, so does our mentor! 🍵✨
In every video, I learn something new. Hats off Hitesh sir. Now you are my favourite teacher ❤
Glad to hear that
sir i alredy learnd python from some one else but because of your teaching style i watched this series even i alredy know python please make videos on data science with python please sir
thanks, Hitesh sir, now I understand the concept of Closures...
16:16 I guess it’s planned sir😂. Even I can clearly see the function is not called then it’s impossible that you will miss it. So obviously you set that thing up so that the logic gets rooted in our brains . Brilliant teaching ❤
i was thinking the same. without calling fuction how will value change. :)
28:50 my mind was blown by the code. but when i apused the video and focused on the code for 2 minutes... i was like: "daaamnnnnn"
Bhai agar hitesh sir itna Accha content bna rhe h to comment or like karne main jata kya h sab kardo bhaiyo sir ka target
sir, Your lectures are awesome. please dont stop posting quality content for us on YT
Sir did great job to clear our fundamentals in starting now it is helping us
In your last video of this series, you taught Recursion very nicely...
One of the Best Series ever. Just Like your JS series
very nice video now i know the concept of clousure in both js and python
Thank you❤❤❤
amazingly amazing course sir ji🤩🤩
one of the best teacher 👍👍
Sir ne to bhot easy kar diya python ko
I like this series
Very insightful playlist. Thank you Sir
good sir, You are my teacher
Thankyou so much sir, itna ache se samjhane k liye 😊
Well explained!! Thankss for telling
Sir at 26:40, chaicoder returns actual(x) defination, both are also taking a single argument, can we say these are curry functions, if not why is closer different from curry functions.
Getting confidence using python now, because python is not self explainatory, like, scope, like blocks ( as it is not using public, private, words, ie.e)
Thank you Sir for these amazing playlists💝💝
It's fun to learn when you give reference of javascript
Target trailer. Thank You Sir for tutorial
you are doing great sir.. thank you so much❤
Thank you Sir for these amazing playlists
outstanding , brilliant , spectacular
guys like target krdo yaar, I dont want it to stop, projects ke bina it would not be so fun
I mean to say, like the video and comment something valuable, I do not seek likes on my comment.
Ok
LOVE THE WAY YOU ARE TEACHING ❤
Your videos push me get a chai and code❤❤
what an explanation hitesh sir🥰🥰🥰🥰
Excellent explanation 👍
I have a question related to scope after going through class and object
a = 100
def add(x,y)
print(x+y)
class MyClass:
def mymethod(self):
print(a)
add(1,6)
Can I access the global variable a and function add
inside a instance method(or any where in class body) . If yes can you please explain this.
Yes, you can access this global variable directly in same script anywhere after they being initialised
Awesome Explanation.
Sir hai toh best series❤❤🎉🎉
Thank you sir for this type of master class content
Thank you for bringing content consistently for us.
Thank you sir for such informative session
Best python series. 😄
Very well explained❤
Video 17 completed ✅
thank you sir, abhi samajh me aaya
it's great comparison of JavaScript every language have same concept only the syntax different , even we are using advance concept of other language in JavaScript but we don't aware of this and theoretically we are not able to describe most of time
best content online
Next js ki video kab AA Rahi hai , Announcement kare too 1 week ho Gaya sir , bohat respect hai aapke liye , hc sir op
Great series❤
Great lecture ❤
Best instructor
Very Good Explained..😌
thanku sir for these amazing palylist , please sir One video coming for (how to explain project )
am watching this video after 3 months of upload date..feeling bad to see the comment target still has not reached yet for the quality of content he is been providing...
Your channel is amazing
Very Well Done Sir Ji
thanks sir , ek series cs fundamentals jaise os dbms ki bhi sir
Great Explanation!
awesome work and great video sir
name = "test1"
def test():
print(name)
name = "test2"
print(name)
I expected the output to be:
test1
test2
But I got this error:
UnboundLocalError: local variable 'name' referenced before assignment
Please explain this. (If Python is an interpreted language, then the error shouldn't occur.)
But I didn't want to change value of name globally and not even want to change variable's name (name).
And if python is interpreted language then why this error is occurring?
Continue this series 👏
nice concept and nicely taught
excellent explanation
nonlocal will be used to access nearest scoped variable
thanks alot sir ffor this series
Thanks a lot sir.
Thanku sir,,It is very helpful
Now i am getting confidence in python
Sir ji thanks for your support
Thank you so much sir for this palylist.
Tqsm sir for amazing lectures.
29:20 sir apna chaicoder ma 2,3 dekar num ki value assign kar di par x ki value ko kaisa assign kiya ? isa samajna ma problem aa rahi ha
Best Course on Python
Thanks for this amazing content...
you are the best sir!
Love thus series ❤