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]
@SaiGaneshPulijala5 ай бұрын
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()
@ritvikvoleti Жыл бұрын
Self parameter is used to refer to the the current instance of the class or the object for which the method is called.
@vimlaadarsh1932 Жыл бұрын
who is asking you?
@akhileshchaurasia7966 Жыл бұрын
@@vimlaadarsh1932 No time paas here in Harry sir class, other wise u know what ....
@radhesyambeats..7939 Жыл бұрын
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
@bholegaming5195 Жыл бұрын
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
@WinzzPlayzz5 ай бұрын
Bro aapne ye emoji kese use Kiya custom wala?
@Funny_videos-h9 Жыл бұрын
self parameter is used to refer to the current instance of class or object for which the method is called
@sumithivale4414 Жыл бұрын
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.
@rokckerzzzz6080 Жыл бұрын
Is it same like this keyword in JavaScript?
@Godfatherhemanth2369 Жыл бұрын
@@rokckerzzzz6080 object oriented programming is same for all languages u just need basics of it
@shubhamacharya151311 ай бұрын
Self is a reference to the current instance of the class and is use to access variable that belong to the particular class.
@KrishnaPaul-s4t Жыл бұрын
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.
@mariamhasan3733 Жыл бұрын
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.
@rajmajumdar5253 Жыл бұрын
It's not an extra parameter.
@rishabhpandey5623 Жыл бұрын
I took data science course from PW skills , but i am learning from here and I understand better. Thanks harry bhai.. ❤❤❤
@vishalsen7345 Жыл бұрын
Same Bro! I took course from AlmaBetter but I am learning here! Course is only for road map!
@wewesusui9528 Жыл бұрын
Us moment bhai i took it from datamites
@maths6859 Жыл бұрын
Data science me konse topic tak tum pahuch gae bhai
@prathameshmainkar2226 Жыл бұрын
@@vishalsen7345 how is the almabetter course? is their job guarentee claim true??
@prathameshmainkar2226 Жыл бұрын
how is the pw skills course?
@Aditya-tv2gr Жыл бұрын
self means that object in which the method is being called.
@abhaypatil2517 Жыл бұрын
Self parameter is "Vo wala object jiske liye method call kiya ja raha hai". Writing in hindi to remember more efficiently :)
@aksaismail1873 Жыл бұрын
Thanks Harris brother for clearing oop in a brilliant way,it is admirable.
@teekamchand4370 Жыл бұрын
"Self" refers to the object which is followed by a class method.
@pratikshelke7493 Жыл бұрын
The self parameter is a reference to the current instance of the class, and is used to access variables that belongs to the class.
@AliHaider-xx2hm Жыл бұрын
the self parameter is the current instance of the class. it is used to access the variables that belong to the class
@anonymous-ss8yc Жыл бұрын
Great lecture brother ❤️❤️❤️
@alakhmanipriya5861 Жыл бұрын
Please after the this 100 days series please make dart programming playlist 😔
@tomaatoo137 Жыл бұрын
Self parameter is the object/instance for which the method is being called🙂
@parwatsingh677 Жыл бұрын
OP python course 👌👌
@bhupendranarayansinha3323 Жыл бұрын
self parameter is a refrence to current instance of the class . It used to access to the variable that belongs to the class.
@alinaqvi786 Жыл бұрын
Hii herry bro ❤️ I hear very carefully when you talk your experience because i am implementing in my coding journey life. So thanks
@arjunpawar33895 ай бұрын
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
@vibesofficial5169 Жыл бұрын
self - vo object jiske liye ye method call ho rha hai.
@mohdfaisal472510 ай бұрын
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.
@prasannarajpaulmaddala5674 Жыл бұрын
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)
@devpandya7903 Жыл бұрын
Ohh bhai playlist dekho harry bhai ki he already have one playlist of java
@cube6325 Жыл бұрын
He do have Java course, but it is kinda bit old.
@digvijayjadhav1452 Жыл бұрын
self parameter is a reference to the current instance of that class and is used to access variables that belong to that class
@sumedhbirare5709 Жыл бұрын
I was a bit confused but your definition helped😅
@ashirwadsharma82793 ай бұрын
Self ka matlb Vo Object jiske liye Method Call Horaha h
@svk00713 ай бұрын
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)
@SanatanDharma.....Ай бұрын
2024 beginner attendance here ❤❤❤❤😂😂😂
@SaiGaneshPulijala5 ай бұрын
self parameter is a reference to a class which is used to access the variables belonging to that class
@indianpc8602 Жыл бұрын
'self' refers to the current instance of the class (i.e the object) on which the method is called.
@madhanmohan93865 ай бұрын
Self is the object that is calling the method in a class
@Helly04 Жыл бұрын
Self means "that object" on which "the created method" is being called.
@AdarshKamble-yb2hd5 ай бұрын
Self point the current object of class
@smilekr36897 ай бұрын
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
@DivyamPyMaster Жыл бұрын
Self ka matlab woh object jis pr ye method call ho raha hai Thank you so much Harry bhai
@ThomasShelby472709 ай бұрын
Self refers to the current object information
@Shubham.Katal.584 ай бұрын
Self means for which we call a method
@shashank.4705 Жыл бұрын
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
@INSPECTOR_Thakur5 ай бұрын
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
@RK15508 Жыл бұрын
Self ka matlab vo object jis ke liye mathod call Kiya jaa Raha hai and is ko (.)Operator se access karte hai
@abhisiktaghosh66075 ай бұрын
Awesome harry bhaiya ❤
@fearlessbantai48464 ай бұрын
self means that object for which method is callled self ka matlab wo object jiske liye koi method calll kia ja raha hai
@helloeveryone66143 ай бұрын
Self ka mtlb wo object jiske liye method call kiya ja rha h.❤
@devanshtanwar40754 ай бұрын
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 .
@aadibansal1837 Жыл бұрын
'Self' is used to refer to the current instance of the class i.e. the object for which the method is called.
@jain-gl5jt7 ай бұрын
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
@EmpowerTheVoice10 ай бұрын
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()
@loju-z9o10 ай бұрын
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
@narendraparmar163111 ай бұрын
Very Informative Thanks Harry
@pranavmehta91419 ай бұрын
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.
@AkashKumar-c2l8k10 ай бұрын
self parameter is reference to the current instance of the class and used to access the variables that belong to the class
@anmoldeep781610 ай бұрын
alag alag object pe ye method use krne ke liye self use hota hai
@devendrapatel52558 ай бұрын
self is the current instance of the class and it is used to access the variable that belongs to class
@IslamicXkardash Жыл бұрын
Self' is used to refer to the current instance of the class i.e. the object for which the method is called
@109_debjitacharjee98 ай бұрын
Self ka matlab woh object jisme woh method call ho rha hai
@ragingogre75910 ай бұрын
self parameter is an reference to the current instance of the class and is used to access variables tht belongs to the class
@gyanambhalgat6 ай бұрын
Self ka matlab wo object jiske liye koi method call kia ja raha hai🤗
@TejaswiniGajbhiye-e3t Жыл бұрын
self is reference to current instance of the class, and used to access variables that belongs to class.
@Akhildesignsbuddy10 ай бұрын
self parameter is reference to current instance of class it can be use to acess variable belong to that class
@muskanthakur633 Жыл бұрын
self object is used to refer to current instance of the class and the object for which the method is called
@Crimsonsovereign Жыл бұрын
Self ka matlab wo object jiske liye method call kiya ja raha he iska mtlb self sirf class me use hoga 6:59
@Rayan-n1d7g11 ай бұрын
Self parameter is a instance of class and is used to acess variables that belong to the calss
@falgunisunke4814 Жыл бұрын
self refers to the current instance of that class and the object for which the method is called.
@hereyoufindentertainment8879 Жыл бұрын
self parameter is used to refer the object for which function is to be called.
@misahhere9224 Жыл бұрын
Self is for referring the object for which the method has been called
@URcristianoooooooooooo Жыл бұрын
Self is a keyword used to access variable made in method
@deepakjha99336 ай бұрын
Herry bhai manana padega yar apko, gajab samjhate ho.... Heads off to u bro....
@HammerHead-oq5de7 ай бұрын
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]
@SlayerXD-rz3lv Жыл бұрын
self method is used to call the blueprint (class) for particular instance
@rajgurubhosale8680 Жыл бұрын
we can understand self as a current object on which we are using method
@kirthankiran Жыл бұрын
Self ka matlab voh object jispe ye method call horaha hai
@PawannShorts21 Жыл бұрын
Self means the currunt instance of the variable
@samakshgarg3408 Жыл бұрын
self parameter is the refrence to the current instance for which the method is called
@ZaidIlyas-y1z4 ай бұрын
self means that object for whom the the method is called.
@dheerajsharma-of8xs Жыл бұрын
Self is used for refering current instance of Class or object for which the method is called....
@sanskarkhandelwal11 ай бұрын
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
@shafisutriwala2308Ай бұрын
7:06 Self ka matlab woh object jiske liye method call kiya jaa rha hai
@SDA_XII_E_23 Жыл бұрын
self ka matlab wo object jiske liye function call ho raha hain
@RaviRanjan-zc5lu Жыл бұрын
Self = the object for which the method is called In other words, self = a
@52_PrathmeshPawar4 ай бұрын
self is reference to current instance of class used to access variable belong to that class.
@virendragawande77572 ай бұрын
Harry Bhai 1 no course hai ❤,
@krishr8599 Жыл бұрын
self is a parameter which is used to call the object in a class at that instance
@Benz-yg3yz5 ай бұрын
Self is a parameter that is used to provide info. Of current instance
@ayushshaw17558 ай бұрын
Self is a reference to that object for which the method is being called.
@Kahani-ki-jubani-eb3ps6 ай бұрын
Self means to call method . Thank you harry bhaiya for clearing doubts.
@Love_ff_75 ай бұрын
'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.]
@SuryakantaSahoo-mg6ss3 ай бұрын
self means allowing access to its attributes and methods
@therandomiser98093 ай бұрын
Self is the reference to the current instance/object of the class
@MrUtilityGuru11 ай бұрын
The meaning of self is the reference of the desired string.
@dhruvgupta2801 Жыл бұрын
self is a object on which method is called, a reference for the object inside the class functions.
@bhavyajethi5297 Жыл бұрын
self parameter means that parameter by which we can refer to an object by calling a method.
@arjunnair46934 ай бұрын
self ka matlab vo object jiske liye method mai call kiya ja rha hai
@randomai-i13 ай бұрын
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}")
@crazytechgenius6623 Жыл бұрын
thanks codewithharry for these courses
@EmpowerTheVoice10 ай бұрын
love from pakistan its been 57th lecture i am learning python from you i must say you are best then my university professors
@sujalagarwal7762 Жыл бұрын
Self parameter is used to call those object whose method is called
@atharvajawalkar9078 Жыл бұрын
self parameter is reference to current instance of the class for which method is called