"Strive not to be a success, but rather to be of value." - Albert Einstein The value you're providing is immense. THANK YOU!
@mattiamirigaldi6334 жыл бұрын
thx man, really good quote
@sumonani15724 жыл бұрын
Hii
@Kashmiri.1113 жыл бұрын
Don't take his name, cause CS Dojois from Japan. Remember who made Hiroshima's history possible.
@tariqalotaibi48523 жыл бұрын
I agree with you, although my English is weak, I understood because he was very simple in conveying information
@sellingbuzz61382 жыл бұрын
@@tariqalotaibi4852 me too i can understand veryyyy easily rather than others english
@keifer78132 жыл бұрын
What took me 3 days and countless resources to semi-understand, you broke down in 2 videos for me. Absolute hero
@annakruse21034 жыл бұрын
Whoever disliked this video truly confuses me, it is a well put together video that is super helpful
@CodeZeroSix4 жыл бұрын
A pure tutorial from scratch... Well done bro
@davidr.flores20434 жыл бұрын
Agreed; however, what is a 1.5% out of a 100?, so I think this is a great as you can get, the rest...don't even worry about. Cheers
@skaito4 жыл бұрын
don’t worry they’re are a lot of AI that automatically dislike videos corresponding to the amount of views so yea
@techslugz4 жыл бұрын
ovi some absolute douche. youtubers like this one are great
@atlantic_love4 жыл бұрын
@@skaito Yeah? Seems a little farfetched.
@aadarshkumarshah87953 жыл бұрын
why is he not recoginized like other youtubers, his works are always so perfect, clear and easy to understand even the complex topics
@ozmaty4 жыл бұрын
Thank you so much! Just had the biggest “Oh shit, I get this now!” moment.
@majddirany40114 жыл бұрын
SAME!! i was about to give up programming and then he explained simply but with clarity!
@anamuniz48474 жыл бұрын
Same here! Thank you very much for your explanation.
@smikeks4 жыл бұрын
You not alone! #MeToo!
@ysn74674 жыл бұрын
the same oooh god he's good at explanation
@cloaksorg4 жыл бұрын
Same, I've researched classes and OOP a bunch before and now I finally get it all. Thanks so much for the video!
@scottiecarlock40045 жыл бұрын
You just taught me everything I learned in a 3 hour class
@cnx_14414 жыл бұрын
:)
@terraserra47323 жыл бұрын
I had a whole course about just that and didn't understand anything. Now I understand what we did in that course by only watching a 10min video xD
@wylie99994 жыл бұрын
Love those robots - spent over an hour reading a textbook on classes and objects. Was completely lost. The robots illustration is a great idea.
@sidrafarooq20644 жыл бұрын
could u explain this to me???bcz i dont get this..
@NaeemF75 ай бұрын
@@sidrafarooq2064 Hi I'm not sure if you still need this, please let me know if I can try to help
@archstampton59106 жыл бұрын
Officially, this channel has the most valuable Python content on the whole Internet .... for a beginner. I have been struggling for weeks trying to understand the most basic concepts until today.
@moulatdahkka4 жыл бұрын
Man you don’t how much of favor you did to me with your tutorials, I spent money and I couldn’t understand OOP but after this video I did , Thank you so much you are a blessing .
@nhatvule67056 жыл бұрын
Thank you. Your video is clear, informative, straight to the point, and encouraging to me. Keep posting new one. I am enthusiastically look forward.
@Sarah-wd3ro6 жыл бұрын
OMG.. Just on time.. I will have my ML mid exam in less than 3 hours.. And no one can explain classes in python better than you 😀😀
@khyleaaronmontebon26236 жыл бұрын
How'd it go?
@erdinn6 жыл бұрын
yeah man, how'd it go?
@Sarah-wd3ro6 жыл бұрын
It was long time ago🙈.. But it was very good👌👌👌
@erdinn6 жыл бұрын
glad you made it
@Sarah-wd3ro6 жыл бұрын
Thank you.. And good luck to you
@syedmustahsan48883 жыл бұрын
I am very Thankful to you for this tutorial I was confused when I saw your "Introduction to Classes and Objects" Tutorial, but now my confusion is gone as I have now seen this tutorial May ALLAH (The God) Bless you
@NaderTaghinia5 жыл бұрын
The way that you introduce the need for the '__init__' method is the best I have seen so far. Thank you :)
@じゅげむ-s6b4 жыл бұрын
same. been tryna figure out what the hell that is
@ja1xh11 ай бұрын
@@じゅげむ-s6bsamee
@sastisaravanan1294 Жыл бұрын
i am truly satisfied by the way u say "robot" , btw it was a well made and concise video , it was really useful
@jackkelly75574 жыл бұрын
Amazing video. I'm reading a book on Python rn and the section on classes and objects is very convoluted; this simplified things greatly!!! For anyone else learning Python, I think the key is to use multiple sources when a topic is confusing.
@rithiksaviog21ec183 жыл бұрын
bro pls stop reading books tutorials are more powerful
@iandan84934 жыл бұрын
I'm an accountant with literally zero programming knowledge. Started following your tutorials a week ago. I'm surprised I understand everything so precisely. Your explanations are as "dumbed down" as can be. Thank you
@user-pg3bq2do3h6 жыл бұрын
OMG... just in time. My ml final exam is 10 yrs away and this helped me so much. No one can explain classes better than you.
@aramahmed9617 Жыл бұрын
Damn its been 5 years, you might wanna start revising for that test you got there
@audunaa4 жыл бұрын
This is the best beginner class tutorial ive ever seen
@carlmalacalza49275 жыл бұрын
Initially did not understand that ‘self’ like ‘this’ in Java has a special meaning in Python and passes the object name. Great job.
@yahoobolt4 жыл бұрын
To my understanding now, self means the object name being called. Because in class there can be lot of objects being created and self will default to that object.
@reefstarnes8392 жыл бұрын
@@yahoobolt big fax
@jzl89594 ай бұрын
6 Years Later, Still Immensely Helpful. Thankful for this gem of a video. Clear, concise, and beginner-friendly.
@imaslime2085 жыл бұрын
This and the other video on Classes and Objects really helped me break down a mental wall. Teaching myself so don’t have formal resources but you are filling that role well (:
@professorx12336 жыл бұрын
Please keep doing these! They are an immense help and I don't know what I'd do without them! You are a seriously good teacher!
@albertogiunta6 жыл бұрын
Great one! Keep up the great work man!
@ethanreed26725 жыл бұрын
@killmoo h3h3 what about...?
@ethanreed26725 жыл бұрын
@killmoo I haven't seen it in a while but I probably remember it.
@Huguillon6 жыл бұрын
I´m an illustrator trying to learn some program and understand how it works... and must say you are the best man, it´s so clear and simple the way you teach this... is amazing
@BrianGlaze5 жыл бұрын
CS Dojo truly understands the content as he is able to clearly and easily articulate what and how these concepts work. Applause is in order!
@huh3 Жыл бұрын
I was sooo frustrated with this class thing and __init__ . but after loooong search I found you again, I always found your videos easy to understand. yea I know Im not the sharpest one here. I almost quit learning programming because of these thing. Im still not confident enough though. But Thanks a lot.
@andrenarstad17575 жыл бұрын
Thank you for finding my glasses so that I could see the consept of classes! Simple and tasty walkthrough! No question asked.
@alair_data69442 жыл бұрын
I came back to comment on this video. I am a beginner in data science, currently receiving a 3-month training program to usher me in this field. Apart from being a beginner, we finished 'Introduction to python programming in a week and I was so overwhelmed. I watched a 7-hour video here on youtube and I nearly gave me because everyone else made it difficult. P.S I am from a college arts background. I chanced on CS Dojo's Channel and was quite skeptical because the video is short as compared to other python programming tutorials here. In just 11 mins, I can write classes and objects off the head and run them without error. Cs Dojo, a thank you can never ever ever be enough. I really appreciate you, Sir
@SpringboLives5 жыл бұрын
Thank youuu, understanding classes has been really challenging for me and this is starting to help :) great examples
@mackenzhiecabute23004 жыл бұрын
I have been watching so much tutorials, reading so much documentation about this, and I watch your vid. Not even 5 minutes after I just had the biggest realization. Thank you
@tylerpinheiro96775 жыл бұрын
Print, my name is Print, my name is Print, my name is The real slim shady
@rayantovi4 жыл бұрын
chicka chika Errrr ERROR
@bhasker50014 жыл бұрын
Please stand up
@himanshurajput86034 жыл бұрын
🤣🤣🤣
@Mehmet-qw1qp4 жыл бұрын
BRo THIS VIDEO WAS UPLOADED ON MY 18th BIRTHDAY
@swallowedinthesea114 жыл бұрын
print( 'No one cares what your name is, you jabroni!' )
@provakar54964 жыл бұрын
I started learn python a week ago, but in your channel what I saw that the person who teach me python, you can do much better. Anyone will understand your logic and what you can try to say. Keep up man. As I saw your passion is making KZbin, man you've earned it...
@ym3r8542 жыл бұрын
So glad I found this channel 🙂. Classes have been the most challenging for me so far in my python learning. Thanks!
@gsv2020004 жыл бұрын
After long years, I understand what is classes and objects. Great Job! Thank you so much!
@bgaarder26 жыл бұрын
You have a talent, my friend. Thank you for putting in so much thought on how to convey this subject.
@vipinkatiyar1344 жыл бұрын
You are the best person to teach this object and class. Thanks cs dojo. Love from india 🇮🇳.
@saurabh71996 жыл бұрын
Thanks CS Dojo☺☺
@upbge_codeart41254 жыл бұрын
I've looked at numerous other videos on this specific __init__ subject. This video is the clearest and easiest to understand. I finally understand the purpose of the __init__ function. THANK YOU THANK YOU!
@pile3336 жыл бұрын
Oh, I've missed you so much, CS Dojo! I even started to learn Javascript in the meantime! ^__^
@cryslin2.0664 жыл бұрын
u did not recieve a single like in 2 years so I liked ur comment :>
@pile3334 жыл бұрын
@@cryslin2.066 Thx. It's very kind of you.
@richsajdak4 ай бұрын
THANK YOU SO MUCH! For some reason I could never grasp what was going on with classes. Your teaching style is excellent: you were able to break this down to where I could finally understand it
@braggstv2325 жыл бұрын
i Had also love to see you creating some important but moderately short programs while using OOP.
@jahidnoyda95214 жыл бұрын
class Robot: def introduce_self(r1): print("My Name is " + r1.name) r1 = Robot() r1.name = "Tom" r1.color = "blue" r1.weighr = 30 r1.introduce_self() #we can right r1 instead of self.name as you wrote in python 9 # i tried and it works
@Ghanemq86 жыл бұрын
thanks for the video, been waiting for it
@ranjanadissanayaka5390 Жыл бұрын
beyon awsome...explained in a way that is extreamly easy to understand...Thanks man.
@brianw39035 жыл бұрын
Great Job, well done sir...Keep up the great work!!!
@soniyagoel1185 жыл бұрын
You are the best tutor. No one else can teach like you.
@daltonham28214 жыл бұрын
How do we print more than one variable? what if we want the function introduce_self to say, for example, Hello my name is Tom I am Red I weigh 30 lbs I get an error saying I cannot concatenate
@elfarooq78474 жыл бұрын
I believe you can do it like this 'def introduce_self(): print ("hello my name is Tom") print ("I am Red") print ("I weigh 30 lbs")' and then call the function with 'introduce_self()'
@dana352003 жыл бұрын
class Robot: def ___init___ (self, name, color, weight): self.name = name self.color = color self.weight = weight def introduce_self(self): print("my name is " + self.name ) print("my color is " + self.color ) print("my weight is" + str(self.weight )) r1 = Robot("Tom", "red", 30) r2 =Robot("Jerry " , "blue", 40) r1.introduce_self() r2.introduce_self()
@TheHomeschoolgal7 ай бұрын
I can't believe this is free on KZbin - thank you!!!
@tjappaschuur47325 жыл бұрын
print("you are amazing!")
@krenze11644 жыл бұрын
you are amazing
@じゅげむ-s6b4 жыл бұрын
@@krenze1164 oh shit the program broke. it forgot the last index
@joscaz14474 жыл бұрын
class Robot: def __init__(self, name, color, weight): self.name = name self.color = color self.weight = weight def introduce_self(self): print(f"Hi, I'm {self.name}, I'm color {self.color}, and also my weight is {self.weight}.") r1 = Robot("Tom", "red", 30) r1.introduce_self() r2 = Robot("Jerry", "blue", 40) r2.introduce_self() PD- I'm proud of myself I can do it without solution :D, I checked the CS Dojo's solution and it was very similar to mine :)
@kiranlalasangi60966 жыл бұрын
can explain more about __init__ function?
@skalex0555 жыл бұрын
The init function is run when the class is first initialised. It is already there but contains no code. You can overwrite it by redefining. This means you can put all of your variables like in the video inside of it.
@derfrueder59755 жыл бұрын
@@skalex055 Is that comparable to an constructor?
@skalex0555 жыл бұрын
@@derfrueder5975 yes, it will run when the class is created.
@monlumbre28615 жыл бұрын
Try to understand OOPS concept it helps you to understand it
@billpowell59312 ай бұрын
Your explanations are so very clear and concise. A fresh presentation of topics often not fully understood. Thank you for sharing.
@GOAT352u4 жыл бұрын
I came to this video to learn what I "learned" in a course of someone else.
@MikeG_cpt3 жыл бұрын
Dude I've taken multiple course and watched so many videos trying to understand this and I never did until now, kudos!!
@TortoRacoon6 жыл бұрын
when you define the class with the function, you enter in parenthesis "(self, name, color, weight)", and when you enter the element it refers to the function like Robot("Name", "color", weight). My question is: In the function you are entering 4 things, but when defining the element you entry 3 properties. How does the code understand that "name" goes to name and not to self if self and name occupy the first position? because we saw in earlier videos that the first entry in the reference will replace the first entry in the function... what does the code understand by "self" and why is it different in this case?
@yashdhivar98294 жыл бұрын
Self is inbuilt by python and it gets recognised as the object that has been created so it gets ignored
@nickimaldonado75423 жыл бұрын
This is by far the best explanation I have come across.
@dineshsankhat19026 жыл бұрын
Hiii my name is dinesh i am your biggest fan You are super
@vinao_45586 жыл бұрын
From Pied Píper.
@raunchydolphin53872 жыл бұрын
For some reason I just couldn't wrap my head around classes but this video just made them click. Thank you so much!
@abishekravichendar45126 жыл бұрын
Hai cs dojo what happens if we doesn't use the word self.
@Fleathemighty6 жыл бұрын
it still works if you use something else but i think it's just a convention. i guess it just makes it easier for someone else to read it. the one thing that needs to stay the same is the __init__ custom function
@markdesilva72073 жыл бұрын
Extremely clear and informative video. I cannot understand why anyone would dislike this vid
@prackertracker71895 жыл бұрын
Why your thumbnail includes code from Pycharm but your tutorial is on jupyter I'm triggert
@juanok27756 жыл бұрын
dude I have been watching python videos everywhere but yours are so much easier to understand!
@mathankumars8966 жыл бұрын
Thanks for this
@ggbin80923 жыл бұрын
This video gives me a huge relief. ngl, I was so frustrated after watching 2 video tutorials and reading 2 articles about OOP and couldn't understand a thing like the way I did in python previous lessons, until i found this.
@gastonscazzuso41135 жыл бұрын
Thank you !.. FInally I understood what the hell are "Classes" !!! :)
@unicornhd1610 Жыл бұрын
i got clear idea now. thankyou . 🙂i became your fallower
@sanyamjain47774 жыл бұрын
This is tough
@fredsimeon161613 күн бұрын
Very tough
@RobinTheHoodedMan6 жыл бұрын
I'm just learning Python, and just started 'experimenting' with object creation. I'd just like to say thank you for clearing up some mis-comprehensions. I'd been getting various error messages so far, now I see why. To other noobies I would just say 2 Underline before and after the init statement, and notice the use of brackets in the video when first creating object. All these had not been made clear in other video's I had watched on the subject!! Many Thanks!!
@robinkovacic79615 жыл бұрын
isn't this just a function with extra steps?
@xfire37784 жыл бұрын
Robin Kovačić that’s what confuses me, what’s the purpose of it
@Sam-wg1hc4 жыл бұрын
Its not a function, a function already has information in it, compare the function to an apple pie, a class is like a recipe, with the class you can make all sort of cakes
@Sam-jg5zv5 жыл бұрын
You explained classes more succintly and clearly that anyone else in 11 minutes
@ednalvavalentim48396 жыл бұрын
Could you put English subtitles in the videos,please?.I am Just learning english, and it would be so easier to watch the videos.
@gba046 жыл бұрын
Great idea i am also learning english and it is so hard to find good python tutorials in my native language and it would get so easier to learn with english subtitles, i hope he sees your comment and put the it in the next video!
@guiilhermeoliveira70636 жыл бұрын
I was about to ask the same thing.
@hitcom166 жыл бұрын
Turn on captions from options.
@hitcom166 жыл бұрын
Guilherme Alfredo there r 3 dots on right top side. Like ' : ' this. THERE'S caption option... In my KZbin app yes it's there. Try r search it there.
@mohammadikram6876 жыл бұрын
your way of teaching is far more better than what i am being taught on udemy.MAN YOU ARE GENIUS
@anuragtripathi17446 жыл бұрын
friend plz make a QnA video i have many questions for you
@CSDojo6 жыл бұрын
What are your questions? :)
@anuragtripathi17446 жыл бұрын
Can we make our own packages in Python and import in our program?
@mukteshwartripathi95826 жыл бұрын
Yes plz tell I was also having this confusion?
@swallowedinthesea116 жыл бұрын
Yes. Write a function etc., use the import module to use that function etc. in a file. import random # built-in module guess = int(input('Guess my number: ') x = random.randrange(101) if guess == x: print('Awesome!')
@anuragtripathi17446 жыл бұрын
No,My Question is can i create my own packages
@vishnuvarthan83046 жыл бұрын
CSdojo the savior for students from Canada
@Mads_Vel6 жыл бұрын
I study computer science, but don't understand anything of it :S Maybe I should reconsider my choise or check my IQ one more time..
@saimaacademy55375 жыл бұрын
kzbin.info/www/bejne/rJ3JZYOkbtOAq8k
@malikdzha94435 жыл бұрын
Same lol
@ThomasMaltuin5 жыл бұрын
DOJO! I have only watched a bit so far but I have already noticed something special about your style of instruction. I want to say thank you for bringing out subtleties such as intentionally using different names for the formal parameters and the class variables! Using the same name is a wonderful convention, but by initially breaking that convention, students are much less likely to assume that they have to match for the code to work. This subtlety is important for a computer science student to progress from writing a little python to actually understanding what they're doing! Kudos!
@britemun6 жыл бұрын
Hey bro...U R Great as always ! I have one question though, What is the use of classes and is it helpfill in Machine Learning or Deep Learning?
@phanphan22514 жыл бұрын
This is very well explained, even if i'm not a native english speaker i understood this course easely.
@carriezhang43515 жыл бұрын
how did you "#" multiple lines at one time?
@carriezhang43515 жыл бұрын
@Berke Icel works! thx!
@taran79545 жыл бұрын
Or you can do this ' ' ' hello hey ' ' '
@Kekkle-4 жыл бұрын
i spent like 4 hours reading and re-reading my (very expensive) college textbook trying to understand this, and this video taught me everything the book was trying to say in like 10 minutes
@LeslieeGaming4 жыл бұрын
I don't trust chinese in programming...
@LeslieeGaming4 жыл бұрын
I'm just joking I love you chinese man
@horrorstoriestolisteninthe23544 жыл бұрын
Yes they spread covid.
@mohamadalhalabi3973 жыл бұрын
@@horrorstoriestolisteninthe2354 bruh, have some shame
@awa47653 жыл бұрын
Hey man thank you so much Everyday when I come back from school I come and watch this Python tutorial and I planned to at least watch 1 of them daily
@Tombalino6 жыл бұрын
You are reaching more people than there are in an entire university. Thankyou
@tapasranjanpaul67434 жыл бұрын
very much thanks cs dojo i was having difficulties on this topic of pythpn ,,,,
@valarietan Жыл бұрын
Thank you for making this so simple and easy to understand. I was stumped by Class for an entire week until I watched your video.
@techsol32333 жыл бұрын
Very very very great explanation I was having serious understanding problem with the classes in python Now I am proud myself Thank you so much Dojo
@Grungydan5 жыл бұрын
Your vids are way better than the ones out of a course I paid for. Thanks so much for taking the time. Consider me subscribed!
@KriszX123 жыл бұрын
Been learning JavaScript for 9 months or so by creating small to middle-sized projects. I really felt that I can read Python and Java with ease and understand it. Now I learn python and so far it pretty much easy to learn. Almost every object-oriented concept can be used from JS in Python. So far it is very convenient to learn Python after JS. I will be curious about Java, but as a hint, I can still apply object-oriented concepts there as well.
@stuartjones14254 жыл бұрын
Hands down the best explanation of OOP I've seen. Thank you!
@mizuhashitsunoka6 жыл бұрын
I have my semester exams in a couple of weeks with full of obsolete curriculum, and here I am restarting Python. Your way of teaching is really appealing and engaging. Glad to be part of Dojogang :')
@reyansh63294 жыл бұрын
Thank you so much for helping me to learn Python
@terminatorongc51353 ай бұрын
Explained it 10 times better than my teacher. KZbin saves the day again.
@techbbas3 жыл бұрын
Great work..I will add one definition about the __init__ function. "__init__" is a reserved method in python classes. It is called a constructor in object-oriented terminology. This method is called when an object is created from a class and it allows the class to initialize the attributes of the class.
@umarhasnain73693 жыл бұрын
Everything you explained was totally clear. What was unclear is just the voice in this video. I turned my phone to full volume no earphone but still juuuust heard it. Well now you produce some good higher sound videos that are easy to hear.
@maheshs40564 жыл бұрын
What I really love about these videos are the simplicity of the language used, which makes it easy for a beginner to quickly grasp the concepts of classes. I'm glad I found your channel. :)
@rahultirkey79505 жыл бұрын
You cleared my doubts about constructors which I wasn't able figure out for several weeks. Now I can sleep tonight with no doubts. Thanks.
@dezinhtang5 жыл бұрын
Thanks for your deep explanation.I can't support you with anything but I just use to watch every ads till the end as of my tiny support.
@jeremycollier43773 жыл бұрын
I know this video is a few years old, but I wanted to make sure to comment and say good job! Very simple and straightforward, something a lot of these "basic python" videos lack. The way you explained attributes and the __init__ method is something that a lot of videos don't even go over or explain the why (and the reason I was watching this video in hopes it would be explained!)
@daveprado29034 жыл бұрын
Bro, you dont know how much of a help your videos have become, we are so thankful and hoping you the best you deserve!
@rohanpulikkal56144 жыл бұрын
I finally found a youtube channel that explains everything properly! Thank you very much for the great explanation.