I've seen many videos on programming and I gotta say yours are on the top of my list in their ease to understand. The combination of pictures, arrows and eloquent explanations is FANTASTIC. Some people do have a gift of breaking things down in simple terms. You truly do have that gift. Thanks for sharing your gift with all of us. :-)
Thank you for your very generous comments. I'm very pleased you like the videos. Check out the supporting website at the following link: www.PythonByteSize.com Best wishes Phil
Why didn't we use self.added_values here if we are calling via instance of a class. def add_them(self,x,y) self.added_values=x+y return self.added_values
thank you sir, In python everything is object (variables, functions etc) so let say i created small program example.py v = "hello" # here i declared variable 'v' since everything in python is object than it is also object print(v) # here i am accessing that object (variable 'v' ) accessed v without class name (WITHOUT INSTATIATION) MY DOUBT IS: declared value ( v = "hello") here v is object right so next time when i will access directly v ( print(v)) here v is an object but i didn't used any class to create object so how it is possible. OR is it like there is universal class that can give access to some variable without instantiation
Variables are different in Python. v is a name that is bound to the string object "hello" I have covered this in the following videos: www.pythonbytesize.com/video-a-python-variable-versus-a-python-object.html www.pythonbytesize.com/video-python-binding-a-name-to-an-object.html Regards Phil
I've seen many videos on programming and I gotta say yours are on the top of my list in their ease to understand. The combination of pictures, arrows and eloquent explanations is FANTASTIC. Some people do have a gift of breaking things down in simple terms. You truly do have that gift. Thanks for sharing your gift with all of us. :-)
Thank you for your very generous comments. I'm very pleased you like the videos. Check out the supporting website at the following link: www.PythonByteSize.com
Best wishes
Phil
Fantastically patient teaching. Thanks.
These videos are fantastic. Many more students should be aware of their existence. Thank you so much.
Thank you so much. Everytime I don't understand something from my scripts/lectures a JPJ video makes it understandable.
+Damir O. Glad the videos are helping.
Best wishes
Phil
(John Philip Jones)
Very nicely done, John. I think this is a question/subject that's rarely covered in other people's tutorials. So, well done!
+Chris Kavanagh Thank you
Regards
Phil
Thnks a lot for the quality videos you make for us using animated explanations.
Wow, you explained with so much detail. Very nice and thanks.
I wish i had a teacher that will teach me everything just like that.
Once again , great video !
+boris runakov Thank you for your generous comment
Regards
Phil
Perfect 💓.
Thanks sir 💯
although I don't have the authority ...I m giving you the title of Sir John
Why didn't we use self.added_values here if we are calling via instance of a class.
def add_them(self,x,y)
self.added_values=x+y
return self.added_values
Sorry abt that .... i think tat should be local variable :)
thank you sir, In python everything is object (variables, functions etc) so let say i created small program example.py
v = "hello" # here i declared variable 'v' since everything in python is object than it is also object
print(v) # here i am accessing that object (variable 'v' ) accessed v without class name (WITHOUT INSTATIATION)
MY DOUBT IS:
declared value ( v = "hello") here v is object right so next time when i will access directly v ( print(v)) here v is an object but i didn't used any class to create object so how it is possible.
OR
is it like there is universal class that can give access to some variable without instantiation
Variables are different in Python. v is a name that is bound to the string object "hello" I have covered this in the following videos:
www.pythonbytesize.com/video-a-python-variable-versus-a-python-object.html
www.pythonbytesize.com/video-python-binding-a-name-to-an-object.html
Regards
Phil
thank you so much for your quick response.