self ka matlab wo object jiske liye koi method call kia ja raha hai i.e [self parameter is an reference to the current instance of the class and is used to access variables that belong to the class]
This will be good for vs users:- # A class is a blueprint or a template for creating objects, providing initial values for state (member variables or attributes), and implementations of behavior (member functions or methods). The user-defined objects are created using the class keyword. class info: name = "ganesh" age = 17 print(info()) #We cant print the matter inside the class like this or without bracket. #We can print the info present in the class like this:- print(info.name) print(info.age) # Creating an Object: # Object is the instance of the class used to access the properties of the class Now lets create an object of the class:- a = info() print(a.name) print(a.age) # changing the object:- b = info() b.name = 'Rohan' b.age = 18 print(b.name) print(b.age) # Self Parameter:- # The self parameter is a reference to the current instance of the class, and is used to access variables that belongs to the class. # It must be provided as the extra parameter inside the method definition. class person: name = "Enter your name" age = "Enter your age" def intro(self): print(f"My name is {self.name} iam {self.age} years old.") c = person() c.name = 'Ganesh' c.age = 17 d = person() d.name = 'Rohan' d.age = 18 c.intro() d.intro()
the self parameter us a reference to the current instance of the class, and is used to access variable that belongs to the class it must be provided as the extra parameter inside the method definition
self matlab referring to the object for which that class method is being called. Thanks Harry Bhai, I tried lots of documents and videos to understand this self, but you have explained it in a best possible way.
Self parameter is a reference to the current instance of class and is used to access variables that belong to that class. (Self ka matlab woh object jis ke liye koi method call kia ja raha hai)
The meaning of self :- The self parameter is a reference to the current instance of the class, and is used to access variables that belongs to the class.
self jo use kry ghy function wo usy class ky object ko refer kry ghy like class Students and with student_info() then a.student_info() jb kry ghy agr to self a ko refer kry gha agr a mei koi object banaya ho gha to wo aa jhy gha self mei werna by default jo class mei diya hai wo utha ky gha
Bro, please make a ultimate Java course plz We(cse) are having Java as major Please make asap bro I 💕 your content and way of teaching bro Keep doing This python course is very helpful for my friends (other dept as well as for us)
self ka matlab vo object jiske liye koye method call kiya hai --> self parameter is an reference to the current instance of the class and used to access variable that belongs to the class
the self parameter is that object on which this method is being called(The self parameter is a reference to the current instances of the class,and is used to access variables that belongs to the class .
self ka matlab voh object jiske liye method call kia ja raha hai. [ self parameter is used to access the current instance of the class and is used to access variables and methods that belong to that class]
i have done it like this class detials: name = input("Enter your name: ") occupation = input("Enter your occupation: ") salary = input("Enter your salary: ") gender = input("Enter your gender: ") if gender == "Male" or gender == "male": gender = "he" elif gender == "Female" or gender == "female": gender = "she" print(f"{detials.name} is a {detials.occupation} and {detials.gender} earns {detials.salary}")
print("self parameter is a reference to current instance of class and is used to access variables that belong to class THANK YOU harry bhai and done with day 57
'self' means that object for which the method is called ie. self ka matlab wo object jiske liye method call kiya ja raha hai. [self parameter is a reference to the current instance of the class and is used to access the variable that belongs to the class.]
class person: def info (self): print (f"{self.name} is a {self.occupation}") #objects creation a = person () a.name = "Shais" a.occupation = "Pyhthon Developer" a.info() b = person () b.name = "Atta ur rehman" b.occupation = "Laptop Technician" b.info() c = person () c.name = "Molana" c.occupation = "Graphic Designer" c.info()
self ka matlab wo object jiske liye koi call kia ja raha hai (self parameter is an reference to the current instance of the class and is used to access variable that belong to the class)
Self parameter is a reference to the current instance of the class ,and is used to access variables that belongs to the class , jis par method call ho rha h
self ka matlab woh object jispe ye mathod call ho raha hai and thanks harry bhai me aapko 2021 se follow kar raha hoon us samay me class 11 me tha aaj college(iit madras) me study kar raha hoon galti se aapka channel mila tha aaj me proud se boltha hoon meri galti achi thi
self ka matlab vo object jiske liye method call kiya ja raha he......self parameter is an reference to the current instance of the class and is used to access variables that belong to the class
self ka matlab wo object jishka liye method call kiya ja raha hai self parameter is an reference to the current instance of the class and is used to access variables that belong to the class
self wo object jiskeliye wo methos call kiya ja raha hai self para meter is a reference to a current instance of the class. It use to access the variable that belong to the class.
self ka matlab wo object jiske liye koi method call kia ja raha hai i.e
[self parameter is an reference to the current instance of the class and is used to access variables that belong to the class]
This will be good for vs users:-
# A class is a blueprint or a template for creating objects, providing initial values for state (member variables or attributes), and implementations of behavior (member functions or methods). The user-defined objects are created using the class keyword.
class info:
name = "ganesh"
age = 17
print(info()) #We cant print the matter inside the class like this or without bracket.
#We can print the info present in the class like this:-
print(info.name)
print(info.age)
# Creating an Object:
# Object is the instance of the class used to access the properties of the class Now lets create an object of the class:-
a = info()
print(a.name)
print(a.age)
# changing the object:-
b = info()
b.name = 'Rohan'
b.age = 18
print(b.name)
print(b.age)
# Self Parameter:-
# The self parameter is a reference to the current instance of the class, and is used to access variables that belongs to the class.
# It must be provided as the extra parameter inside the method definition.
class person:
name = "Enter your name"
age = "Enter your age"
def intro(self):
print(f"My name is {self.name} iam {self.age} years old.")
c = person()
c.name = 'Ganesh'
c.age = 17
d = person()
d.name = 'Rohan'
d.age = 18
c.intro()
d.intro()
Self parameter is used to refer to the the current instance of the class or the object for which the method is called.
who is asking you?
@@vimlaadarsh1932 No time paas here in Harry sir class, other wise u know what ....
the self parameter us a reference to the current instance of the class, and is used to access variable that belongs to the class
it must be provided as the extra parameter inside the method definition
Self is a reference to the current instance of the class and is use to access variable that belong to the particular class.
self matlab referring to the object for which that class method is being called. Thanks Harry Bhai, I tried lots of documents and videos to understand this self, but you have explained it in a best possible way.
self means - it's the current instance of the class and is used to access variables that belongs to that class. thanks for clearing my doubts
Bro aapne ye emoji kese use Kiya custom wala?
self parameter is used to refer to the current instance of class or object for which the method is called
Self parameter is a reference to the current instance of class and is used to access variables that belong to that class. (Self ka matlab woh object jis ke liye koi method call kia ja raha hai)
The meaning of self :-
The self parameter is a reference to the current instance of the class, and is used to access variables that belongs to the class.
Is it same like this keyword in JavaScript?
@@rokckerzzzz6080 object oriented programming is same for all languages u just need basics of it
I took data science course from PW skills , but i am learning from here and I understand better. Thanks harry bhai.. ❤❤❤
Same Bro! I took course from AlmaBetter but I am learning here! Course is only for road map!
Us moment bhai i took it from datamites
Data science me konse topic tak tum pahuch gae bhai
@@vishalsen7345 how is the almabetter course? is their job guarentee claim true??
how is the pw skills course?
the self parameter is the current instance of the class. it is used to access the variables that belong to the class
Day #57 done. The self parameter in Python classes refers to the instance of the class being created, allowing access to its attributes and methods.
It's not an extra parameter.
"Self" refers to the object which is followed by a class method.
Thanks Harris brother for clearing oop in a brilliant way,it is admirable.
self parameter is a reference to the current instance or object of the class and it is used to access variables belonging to that class.
The self parameter is a reference to the current instance of the class, and is used to access variables that belongs to the class.
Self parameter is the object/instance for which the method is being called🙂
self jo use kry ghy function wo usy class ky object ko refer kry ghy like class Students and with student_info() then a.student_info() jb kry ghy agr to self a ko refer kry gha agr a mei koi object banaya ho gha to wo aa jhy gha self mei werna by default jo class mei diya hai wo utha ky gha
Self parameter is "Vo wala object jiske liye method call kiya ja raha hai". Writing in hindi to remember more efficiently :)
Please after the this 100 days series please make dart programming playlist 😔
Hii herry bro ❤️
I hear very carefully when you talk your experience because i am implementing in my coding journey life.
So thanks
Great lecture brother ❤️❤️❤️
'self' refers to the current instance of the class (i.e the object) on which the method is called.
Bro, please make a ultimate Java course plz
We(cse) are having Java as major
Please make asap bro
I 💕 your content and way of teaching bro
Keep doing
This python course is very helpful for my friends (other dept as well as for us)
Ohh bhai playlist dekho harry bhai ki he already have one playlist of java
He do have Java course, but it is kinda bit old.
self parameter is a refrence to current instance of the class . It used to access to the variable that belongs to the class.
OP python course 👌👌
self parameter is a reference to the current instance of that class and is used to access variables that belong to that class
I was a bit confused but your definition helped😅
self - vo object jiske liye ye method call ho rha hai.
self ka matlab vo object jiske liye koye method call kiya hai -->
self parameter is an reference to the current instance of the class and used to access variable that belongs to the class
Self ka matlb Vo Object jiske liye Method Call Horaha h
self keyword is used to represent the instance(object) of a class, by using self keyword we can access the attributes and methods of a class.
the self parameter is that object on which this method is being called(The self parameter is a reference to the current instances of the class,and is used to access variables that belongs to the class .
self parameter is a reference to a class which is used to access the variables belonging to that class
6:21 ,Sir we can also write print statement also this way less complex print(self.name ,"given a salary", self.salary) rather than in Curly Brackets
Self' is used to refer to the current instance of the class i.e. the object for which the method is called
self parameter is reference to the current instance of the class and used to access the variables that belong to the class
self is the current instance of the class and it is used to access the variable that belongs to class
Self ka matlab woh object jis pr ye method call ho raha hai
Thank you so much Harry bhai
self ka matlab voh object jiske liye method call kia ja raha hai. [ self parameter is used to access the current instance of the class and is used to access variables and methods that belong to that class]
self is reference to current instance of the class, and used to access variables that belongs to class.
Self is a keyword used to access variable made in method
self parameter is an reference to the current instance of the class and is used to access variables tht belongs to the class
self parameter is the refrence to the current instance of the class and is used to access variables that belongs to the class 7:41
i have done it like this class detials:
name = input("Enter your name: ")
occupation = input("Enter your occupation: ")
salary = input("Enter your salary: ")
gender = input("Enter your gender: ")
if gender == "Male" or gender == "male":
gender = "he"
elif gender == "Female" or gender == "female":
gender = "she"
print(f"{detials.name} is a {detials.occupation} and {detials.gender} earns {detials.salary}")
self parameter is reference to current instance of class it can be use to acess variable belong to that class
Self parameter is a instance of class and is used to acess variables that belong to the calss
self refers to the current instance of that class and the object for which the method is called.
print("self parameter is a reference to current instance of class and is used to access variables that belong to class
THANK YOU harry bhai and done with day 57
Self is for referring the object for which the method has been called
'self' means that object for which the method is called ie. self ka matlab wo object jiske liye method call kiya ja raha hai.
[self parameter is a reference to the current instance of the class and is used to access the variable that belongs to the class.]
self method is used to call the blueprint (class) for particular instance
Self means "that object" on which "the created method" is being called.
self parameter is used to refer the object for which function is to be called.
Self is used for refering current instance of Class or object for which the method is called....
self means allowing access to its attributes and methods
self means that object in which the method is being called.
self parameter is the refrence to the current instance for which the method is called
self object is used to refer to current instance of the class and the object for which the method is called
class person:
def info (self):
print (f"{self.name} is a {self.occupation}")
#objects creation
a = person ()
a.name = "Shais"
a.occupation = "Pyhthon Developer"
a.info()
b = person ()
b.name = "Atta ur rehman"
b.occupation = "Laptop Technician"
b.info()
c = person ()
c.name = "Molana"
c.occupation = "Graphic Designer"
c.info()
Very Informative
Thanks Harry
Self is a parameter that is used to provide info. Of current instance
we can understand self as a current object on which we are using method
self ka matlab wo object jiske liye koi call kia ja raha hai
(self parameter is an reference to the current instance of the class and is used to access variable that belong to the class)
Self means the currunt instance of the variable
self means that object for which method is callled
self ka matlab wo object jiske liye koi method calll kia ja raha hai
Self parameter is a reference to the current instance of the class ,and is used to access variables that belongs to the class , jis par method call ho rha h
Self is a reference to that object for which the method is being called.
self ka matlab woh object jispe ye mathod call ho raha hai
and thanks harry bhai me aapko 2021 se follow kar raha hoon us samay me class 11 me tha aaj college(iit madras) me study kar raha hoon galti se aapka channel mila tha aaj me proud se boltha hoon meri galti achi thi
self is reference to current instance of class used to access variable belong to that class.
Self ka matlab vo object jis ke liye mathod call Kiya jaa Raha hai and is ko (.)Operator se access karte hai
Self point the current object of class
'Self' is used to refer to the current instance of the class i.e. the object for which the method is called.
self ka matlab "wo object jis per ye method call ho rha hai"
Self refers to the objects on which the method is being called.
Self is the object that is calling the method in a class
love from pakistan its been 57th lecture i am learning python from you i must say you are best then my university professors
self parameter means that parameter by which we can refer to an object by calling a method.
self is a parameter which is used to call the object in a class at that instance
self ka matlab vo object jiske liye method call kiya ja raha he......self parameter is an reference to the current instance of the class and is used to access variables that belong to the class
Self is the reference to the current instance/object of the class
self means that it will run function for that class in which it is called.
self means that object for whom the the method is called.
Self is the object for which the particular method is being called
self is a object on which method is called, a reference for the object inside the class functions.
self parameter is reference to current instance of the class for which method is called
self parameter :=> object on which a method is being called
self means that object for which method(function) is being called.
Self refers to the current object information
self ka matlab wo object jishka liye method call kiya ja raha hai
self parameter is an reference to the current instance of the class and is used to access variables that belong to the class
self is a method which is used to call current object in class
Harry Bhai 1 no course hai ❤,
Herry bhai manana padega yar apko, gajab samjhate ho.... Heads off to u bro....
self use for the calling the class's function for that particular object
#self means the object by which the method is being is being called
The meaning of self is the reference of the desired string.
Self is refrence to current instance(object) of class.
Self means the object we are using, or the function will be using
self wo object jiskeliye wo methos call kiya ja raha hai
self para meter is a reference to a current instance of the class. It use to access the variable that belong to the class.
Self ka mtlb wo object jiske liye method call kiya ja rha h.❤
Awesome harry bhaiya ❤