Python Tutorial For Beginners | init method and self keyword in python

Published: 21 May 2020
on channel: harshal mishra
50
1

Please like and subscribe this video for continuous updates

Full Playlist :    • Py-Pie Python Tutorial  

Facebook :   / py-pie-python-for-beginners-113344127050954  

Twitter:   / shankar35425457  

'''
init() and self keyword in python

'''

class Student:

def __init__(self, name):
self.name = name

def setName(self, name):
self.name = name

def getName(self):
return self.name

stu1 = Student("Harshal")
print(stu1.getName())
print(stu1.__dict__)


On this page of the site you can watch the video online Python Tutorial For Beginners | init method and self keyword in python with a duration of hours minute second in good quality, which was uploaded by the user harshal mishra 21 May 2020, share the link with friends and acquaintances, this video has already been watched 50 times on youtube and it was liked by 1 viewers. Enjoy your viewing!