Python Classes and Objects || Python Tutorial || Learn Python Programming

  Рет қаралды 1,042,799

Socratica

Socratica

7 жыл бұрын

𝙎𝙩𝙖𝙮 𝙞𝙣 𝙩𝙝𝙚 𝙡𝙤𝙤𝙥 𝙄𝙉𝙁𝙄𝙉𝙄𝙏𝙀𝙇𝙔: snu.socratica.com/python Classes are a fundamental part of modern programming languages. Python makes it easy to make a class and use it to create objects. Today you will learn the essentials of programming with classes: how to initialize them, write methods, store fields, and more.
To learn Python, start our Python Playlist HERE:
bit.ly/PythonHelloWorld
Subscribe to Socratica: bit.ly/1ixuu9W
♦♦♦♦♦♦♦♦♦♦
We recommend:
Python Cookbook, Third edition from O’Reilly
amzn.to/2sCNYlZ
The Mythical Man Month - Essays on Software Engineering & Project Management
amzn.to/2tYdNeP
Shop Amazon Used Textbooks - Save up to 90%
amzn.to/2pllk4B
♦♦♦♦♦♦♦♦♦♦
Ways to support our channel:
► Join our Patreon : / socratica
► Make a one-time PayPal donation: www.paypal.me/socratica
► We also accept Bitcoin @ 1EttYyGwJmpy9bLY2UcmEqMJuBfaZ1HdG9
Thank you!
♦♦♦♦♦♦♦♦♦♦
Connect with us!
Facebook: / socraticastudios
Instagram: / socraticastudios
Twitter: / socratica
♦♦♦♦♦♦♦♦♦♦
Python instructor: Ulka Simone Mohanty (@ulkam on Twitter)
Written & Produced by Michael Harrison (@mlh496 on Twitter)
FX by Andriy Kostyuk
♦♦♦♦♦♦♦♦♦♦

Пікірлер: 1 100
@Socratica
@Socratica 2 жыл бұрын
Wear a Socratica Python shirt for good luck coding: shop.socratica.com/products/python-by-socratica
@jammy2003
@jammy2003 5 жыл бұрын
Watching these videos make me feel like, I'm an FBI agent and my supervisor is directing to me a deadly mission. Really enjoy the videos!
@lekanadenusi462
@lekanadenusi462 4 жыл бұрын
Exactly! I love it
@TheWintrover
@TheWintrover 4 жыл бұрын
feels like being hitman
@seriousbusiness2293
@seriousbusiness2293 4 жыл бұрын
Your phone will destroy itself after the message. Good luck agent Py.
@jbi1839
@jbi1839 4 жыл бұрын
this video make MI movies look like sesame street.
@7own878
@7own878 3 жыл бұрын
Gotta overthrow this modern "class"-system
@tenou213
@tenou213 5 жыл бұрын
Avoiding uncomfortable stares from peers is my priority in life.
@rajab4187
@rajab4187 4 жыл бұрын
Absolutely😂😂😂
@garyr1639
@garyr1639 4 жыл бұрын
However, if my peers looked like the narrator then I wouldn't mind! :)
@PersistentProgrammer
@PersistentProgrammer 4 жыл бұрын
hahahahaahahah
@abdullahm..2303
@abdullahm..2303 4 жыл бұрын
hahahahaha
@angelramosexperience8698
@angelramosexperience8698 3 жыл бұрын
I think I will start a new trend called FYP = F*** Your Peer's I might not want them to understand my top secret code/program/App lol
@Socratica
@Socratica 4 жыл бұрын
It's official! The Socratica Python Kickstarter was a success! Thank you to all of our supporters. Because of you, many more Python videos coming soon!! 💜🦉
@martijnnvt6949
@martijnnvt6949 4 жыл бұрын
That's some great news!
@yanamadalaharishkumar5041
@yanamadalaharishkumar5041 4 жыл бұрын
pls elaborate videos, need more content :-)
@anujkondhalkar9776
@anujkondhalkar9776 4 жыл бұрын
But I don't know why every video have too much time gap. If some one want to complete the whole course , how can he? Because your content is absolutely amazing . All you need to do is to upload all video at same time. Thank You so much.
@kianaarabpour
@kianaarabpour 4 жыл бұрын
PRAISE JESUS THANK U
@malaquiascaxingue3105
@malaquiascaxingue3105 4 жыл бұрын
Thanks !!! for this vídeos
@Jbdoster
@Jbdoster 6 жыл бұрын
"I finally saw The Matrix today. It was the best documentary I've ever seen." Dying right now.
@3ric585
@3ric585 4 жыл бұрын
LuL
@satonice7059
@satonice7059 4 жыл бұрын
This is how knowledge should be spread. It feels professional, futuristic, fun and really soothing. Well structured and easy to understand. Great video :)
@pkminime
@pkminime 4 жыл бұрын
Funny too :)
@evanshlom1
@evanshlom1 2 жыл бұрын
Amazing content best in the world
@vedatporikli7417
@vedatporikli7417 2 жыл бұрын
WHATS AN OBJECT
@Ceez747
@Ceez747 2 жыл бұрын
Never thought I could be so attracted to an AI.. she's so smart ( :
@JustAn0therSoul
@JustAn0therSoul 2 жыл бұрын
@@vedatporikli7417 an instance of a class - 1:33 and 3:15
@TheHelvetican
@TheHelvetican 6 жыл бұрын
Your videos are truly in a class by themselves. The info is clearly and unambiguously presented.
@paulyXvpf
@paulyXvpf 6 жыл бұрын
I love these Socratica videos. I'm so buried in long winded Python text books I don't even know which way is up or down. Socratica can take a topic like "Classes and Objects" and boil it down into a 10 minute video. Socratica is a great booster shot.
@luxraider5384
@luxraider5384 3 жыл бұрын
you can't forever rely on youtube videos to learn useful and valuable skills
@shadowkyber2510
@shadowkyber2510 2 жыл бұрын
@@luxraider5384 that's why you learn through multiple sources, which he was. Maybe you're better at taking in written information but heaps of people aren't which is where these videos help
@proggenius2024
@proggenius2024 Жыл бұрын
yeah true, but you cannot overlook the importance of books too. Maybe the videos help you to understand the books in depth. But it's is the books which have a lot of information than any of videos. The videos are just the tip of the iceberg, even assuming a specific topic.
@Stella2U
@Stella2U 11 ай бұрын
​@@luxraider5384 sure you can.
@chemdah
@chemdah 6 жыл бұрын
Dave Bowman and Frank Poole were astonauts on Discovery One in the movie Space Odyssey.
@juileekulkarni5296
@juileekulkarni5296 5 жыл бұрын
Thanks for The so called Easter Eggs
@mihaililiev5932
@mihaililiev5932 5 жыл бұрын
Oh, thanks... Those two names sounded so familiar... lol
@elliotharris3965
@elliotharris3965 4 жыл бұрын
Arthur c Clarke is a science fiction writer and visionary. I'm a nobody, hi.
@lanavasilieva117
@lanavasilieva117 4 жыл бұрын
I was looking for this exact comment, thank you Rob
@nirosugir1370
@nirosugir1370 4 жыл бұрын
Another great documentary
@ugowar
@ugowar 3 жыл бұрын
As a slowly aging C designer, these are one of the most fun Python tutorials I've come across so far. The puns, the dry humor and the obvious love for science and SF by whoever the scenario writers are is just a bonus. Nice work!
@Socratica
@Socratica 3 жыл бұрын
We're so glad you're enjoying them! We have so much fun making our videos. 💜🦉
@yash1152
@yash1152 Жыл бұрын
what does dry humour and SF mean?
@samueloriola9417
@samueloriola9417 7 ай бұрын
SF => Science Fiction @@yash1152
@derricknjoroge2494
@derricknjoroge2494 6 жыл бұрын
Your lessons are amazing. You are helping many people especially aspiring developers from Africa. Cheers from Kenya
@Slm3lkm
@Slm3lkm 4 жыл бұрын
@@tomwilliam7299 ill trade you my citizenship if you have a good one haha
@lekanadenusi462
@lekanadenusi462 4 жыл бұрын
😂😂😂
@kevinfang4362
@kevinfang4362 7 жыл бұрын
the only dam video on youtube that actually explains classes and instances, thank u
@Vorstellungskraft1
@Vorstellungskraft1 6 жыл бұрын
Kevin Fang after seeing the video I realized that all my damn life has been a lie.
@arpitsingh1000
@arpitsingh1000 6 жыл бұрын
chutiye aur bhi kai video hai.
@gabriellgardin
@gabriellgardin 5 жыл бұрын
Exactly
@muhammadhabibjawady552
@muhammadhabibjawady552 5 жыл бұрын
Corey Schafer ... ppl cant even use ytb nowadays
@zaxbeatsonehunnid9380
@zaxbeatsonehunnid9380 5 жыл бұрын
True.
@CarolinaNaka
@CarolinaNaka 7 жыл бұрын
Thank you very much! I've seen many tutorials about classes in Python and this one is one of the most helpful for me. Also I like your humor :) Can't wait for new Python lessons.
@fiendsgaming7589
@fiendsgaming7589 4 жыл бұрын
Explained most important things in 10 mins, which what others can't do in 1 hour
@akartaltepe
@akartaltepe 7 жыл бұрын
Excellent as always. Thank you for making these great videos. They are even more helpful than you might think.
@jrlovepll1215
@jrlovepll1215 4 жыл бұрын
They are helpful in a new way.
@Orankai
@Orankai 6 жыл бұрын
I've watched a lot of programming videos and this is by far the highest quality series I've found. Thanks a lot and keep up the good work!
@rujor
@rujor 5 жыл бұрын
I love it when correct naming conventions are encouraged 🤩!
@woodworkbasti
@woodworkbasti 6 жыл бұрын
oh my god sometimes I just love youtube, I feel blessed to be able to see so much effort and creativity packed into one video full of knowledge . Thank you, thank you, thank you :D
@saeedbaig4249
@saeedbaig4249 6 жыл бұрын
"Classes are a fundamental tool in any respectable programming language." Cough,cough cough
@MyTube4Utoo
@MyTube4Utoo 6 жыл бұрын
+Saeed Baig haha I what you did there. ;-)
@yousuffarhan963
@yousuffarhan963 6 жыл бұрын
Hence, C++ exists.
@paraglide01
@paraglide01 6 жыл бұрын
I don't it.
@cornholio777
@cornholio777 6 жыл бұрын
Python jealou
@ko-Daegu
@ko-Daegu 5 жыл бұрын
Saeed Baig In OOP not all programming languages ... That‘s a big no no ...huge mistake and wrong info
@masqueradinglampshade4369
@masqueradinglampshade4369 2 жыл бұрын
"Even if you are writing code only for yourself, it is a good habit to write a doc string. You may have to use a Class years after you first wrote it. A few seconds of typing is worth hours of sanity down the line." Absolutely brilliant way of emphasizing how important comments and doc strings are in code. Never assume you will remember what you wrote or why you wrote it.
@llewellynhattingh3496
@llewellynhattingh3496 4 жыл бұрын
This is the new world way of explaining! I love it!! You would think that you are more distracted by the method of teaching, but it consumes your attention and really works! Thanks so much for this creativity and implementation of what we all have seen in films, this time it applies to all of us
@quietwulf
@quietwulf 4 жыл бұрын
How did I just stumble on this. What a fantastic series! Thank you so much for the work you've clearly put into this!
@dirkmcnasty8585
@dirkmcnasty8585 5 жыл бұрын
These videos are very helpful. They are informative but not boring, attention grabbing but not filled with fluff, and they hold just enough clever humor to spice up the presentation (0:40 "I finally saw the Matrix today. It was the best documentary I've ever seen." or the DocString for your user class 7:19 - """A member of FriendFace. For now we are only storing their name and birthday. But soon we will store an uncomfortable amount of user information""" - absolutely priceless!!!) Subscribed!
@pyroghost11
@pyroghost11 6 жыл бұрын
Truly in a class by itself, I just can't stop watching these videos... I've learnt so much from them! Thank you!
@maplebestgirl161
@maplebestgirl161 5 жыл бұрын
I feel like learning a lot from you than my professors! This futuristic atmosphere while explaining things classes and objects felt like I was learning things quicker than expected. Great work!
@pojntfxlegacy611
@pojntfxlegacy611 7 жыл бұрын
Looove the video style and explanation!
@bhaiyyu
@bhaiyyu 6 жыл бұрын
" lets create a second user. We will call this second user, creatively, user2 " :P
@gauravnegi4312
@gauravnegi4312 3 жыл бұрын
I couldn't ever guess that name. Socratica is best in creativity....
@chalkypj
@chalkypj 4 жыл бұрын
The only video I have ever found that explains classes so that I can understand. Really love these videos thank you
@ibrahimabdalla3725
@ibrahimabdalla3725 5 жыл бұрын
It's amazing how clearly this explains everything.
@markm4642
@markm4642 5 жыл бұрын
I love the production value and dramatic tones of this and I am sure your other videos. Your content is great and I will be sure to share. Your hardwork is very appreciated. Thank you
@stevehageman6785
@stevehageman6785 2 жыл бұрын
Most of these 'theatrical' instructional videos are just distracting, but you folks have a really good 'formula'. Keep up the good work.
@vadimkoller6232
@vadimkoller6232 5 жыл бұрын
This is the best introduction to classes so far. The other videos are slightly more advanced and thus more difficult to follow. Thanks :)
@josephgibbons1195
@josephgibbons1195 5 жыл бұрын
I have been teaching myself python for about a month(it is also my first programming language so I had to start with the very basics). A week ago I started classes and two days ago I gave up. I just didn't get what they ARE. Luckily this video was suggested to me here on KZfaq and I feel ready to give it another shot. Thank you.
@Socratica
@Socratica 4 жыл бұрын
Welcome to Socratica! You can see our entire Python Playlist here: bit.ly/PythonSocratica Subscribe to see all our new videos! bit.ly/SocraticaSubscribe
@Mantikone
@Mantikone 4 жыл бұрын
If I could date you, I would be happy.
@gauravnegi4312
@gauravnegi4312 4 жыл бұрын
@@Mantikone what kind of comment is this oof
@somethingabouthumans2342
@somethingabouthumans2342 3 жыл бұрын
I love classes with you, would you like to have a diner together ?
@obli8984
@obli8984 2 жыл бұрын
superb practice make human 😀
@skytale35
@skytale35 4 жыл бұрын
I've been butting my head against the wall on classes for a while now, I have watched at least a dozen videos, read the python standard library. I've been able to "make it work" but it wasn't until i watched this and saw it stripped down to nothing but a "pass" command that i started to get it. I stayed up for 3 hours last night experimenting, and its thanks to you. You are a wonderful teacher.
@jonlorange4043
@jonlorange4043 5 жыл бұрын
The best tutorial I have seen to explain classes in a simple and catching way. Thank you.
@brittanyneal5943
@brittanyneal5943 4 жыл бұрын
I LOVE you Socratica team! The fact this channel is what it is makes me love humans (and machines) even more :D Can you please make a video on super() and class inheritance? THANK YOU
@stoicfloor
@stoicfloor 7 жыл бұрын
I was just started to learn Python and this comes in handy! Thank you:)
@saadaqnuurgeedi7777
@saadaqnuurgeedi7777 5 жыл бұрын
are you steel learning?
@xy1094
@xy1094 4 жыл бұрын
Differences, subtle detail, terminology... just excellent!
@dimtim7829
@dimtim7829 3 жыл бұрын
I love your precise and simple humor with a little of frigid atmosphere. You explain amazingly well and strict to the point.
@srikarreddy7085
@srikarreddy7085 7 жыл бұрын
You have excellent creativity skills....Initially i was shocked to know that your channel has only 96k followers which i feel is low....You have know idea how many people who want to learn python would be gratefull after finding your channel...Hats off to your skills...Your video reminded me of assassins creed video...I think you should try something in mainstream game development if u havent already...anyways best of luck and thank you
@_SeaH0rse
@_SeaH0rse 5 жыл бұрын
"only 96k" -.- really
@theronsturgess257
@theronsturgess257 7 жыл бұрын
Nice 2001: A Space Odessy references! "It's full of stars!" I'm learning to code and these videos are great. Thank you for making these!
@MicroageHD
@MicroageHD 6 жыл бұрын
especially amusing since her voice is very "robotic", like HAL9000s :P
@davidmarks509
@davidmarks509 2 жыл бұрын
@@MicroageHD Should we trust her.
@mciniell
@mciniell 6 жыл бұрын
These have quickly become my favorite python tutorial videos on youtube. Thanks!
@GeriReshef
@GeriReshef 5 жыл бұрын
Thank you: I've watched it once, and repeat it again soon.
@aashutoshsinha1253
@aashutoshsinha1253 6 жыл бұрын
the first KZfaq video I ever saw with "EXCELLENCE" in way of teaching 😍😍😍 mam, thank you 😋
@Socratica
@Socratica 5 жыл бұрын
We're glad you've found us! You can subscribe to Socratica here: bit.ly/SocraticaSubscribe To help us make videos faster, you can become our Patron! www.patreon.com/socratica
@coom07
@coom07 4 жыл бұрын
I have a classes with an instance full of love for u 😍💕
@killjaqular
@killjaqular 6 жыл бұрын
seen around 8 different videos attempting to explain what a class is in Python and this video finally made it perfectly clear. wish it had a little less corniness though.
@DavidCastillaGil
@DavidCastillaGil 2 жыл бұрын
Not even a minute into the video and I'm already sold. Great work!
@IsaacAsante17
@IsaacAsante17 6 жыл бұрын
Excellent channel and video. It's a bit cringy, yet insightful. There's some humour to it, yet the lady looks completely serious. The effects and style of the video seem overstreched, yet the content is very easy to understand. I don't know how you came up with this idea, but you nailed it, Socratica.
@888snuffy
@888snuffy 6 жыл бұрын
Best youtube channel for sure!
@akashp4863
@akashp4863 4 жыл бұрын
My doubt got cleared in 1.5 mins. I've checked in every KZfaq channel that I rely on to study. I've only subscribed to channels that can clarify my confusions. And unfortunately no other channel cleared what I wanted, because they didn't even mention it. But you did. You're one refined channel.
@AJ-et3vf
@AJ-et3vf 2 жыл бұрын
Awesome video! Thank you! Very useful! And I particularly love and appreciate you mentioning doc strings and how calling the help function on a class will show those doc strings. Love it so much! Beautiful and elegant. Again, thank you very much.
@jagdishghimire6172
@jagdishghimire6172 6 жыл бұрын
Came to learn Python! Fell in Love!!
@richsandness5409
@richsandness5409 6 жыл бұрын
Very nice speaking voice, tone, screen automated visuals, style, and speed of speaking. "Voice" is not the only criteria to me, but it is somewhat "huge". I like the way that the words are spoken fast enough, but they are not spoken "too fast", as I have seen some do, and while people may "know their stuff", programming-wise, it can be yet another thing to have the gift of teaching and presentation, as well as the blessing of tone fluctuations and very clear, crisp English accentuation, too boot. Watching this particular video (as well as others) and following along is made to be almost sort of 'fun', i.e. toning down the (mild) frustration, or self-impatience of learning something new while turning up the joy of it. The thoughtful and careful clarifications, the method, the tempo, and video technology that are incorporated, result in great synergy. In other words! "Great job, be encouraged, and keep up the good work!". I prefer this video over most any other I remember seeing (of all teaching presentation videos, or perhaps I should say 'this series', so that it does not sound like I am preferring this video above all of your other videos. This is a good "instance", but I like the overall "class", that I see in all of them. :-) (pun intended)
@RussellTeapot
@RussellTeapot 6 жыл бұрын
Definitely agree with you. She's very clear even to a non native English speaker like me, because everything is just perfect. Plus, the serious/semi-robotic style puncutated by occasional bursts of humour is very enjoyable
@WilliamLaroche1.618
@WilliamLaroche1.618 5 жыл бұрын
I couldn't understand how to create objects in classes or what i could use them for, but now i get it. Thank you.
@icessorm1950
@icessorm1950 3 жыл бұрын
Way easier than my computer science courses.Thank you for this clear and concise information !
@ianmubangizi6721
@ianmubangizi6721 6 жыл бұрын
Damn, you're entertaining and educational all at the same time. Thanks a lot for the Videos, I was about stuck to C++, now just Python all the way from [Se] to [Web].
@cyph3rxprogramming829
@cyph3rxprogramming829 5 жыл бұрын
"I WANT TO GATHER AS MUCH DATA AS POSSIBLE FROM USERS " LMAO THAT KILLED ME
@Xentrick
@Xentrick 7 жыл бұрын
Another excellent video Socratica. Thankyou. I'm learning so much. Very much appreciate the humor, sci-fi references and professional instruction. Nice 2001 references! I've learned more about Python in the last two days than I have in the last 4 weeks!
@tassoskat8623
@tassoskat8623 4 жыл бұрын
I love this video. It clarifies many basic terms and helped me study more confidently in these topics. Thank you.
@kquote03
@kquote03 5 жыл бұрын
"And we will do so , in a CLASSy way." O no
@paraglide01
@paraglide01 6 жыл бұрын
Data's better half ;-)
@marvinluyombya2659
@marvinluyombya2659 Жыл бұрын
youre amazing, clear, concise, comprehensive
@seriousbusiness2293
@seriousbusiness2293 4 жыл бұрын
Fun animation timed with what's said. Clear explanations and she doesn't do a too simple or complex attempt at explaining. Very good tutorial quality
@TheAddictsNotebook
@TheAddictsNotebook 7 жыл бұрын
Great videos, very helpful. Could you please scroll the code up a little bit when it gets to the end of the screen in future videos. I pause the videos to code along, and the KZfaq UI obstructs the view of the code at the bottom when paused.
@Socratica
@Socratica 7 жыл бұрын
Thank you so much for letting us know! We see what you mean. We will try to avoid this in the future! As a workaround, looks like the KZfaq framing doesn't interfere with the video if you go into fullscreen mode. Oh, KZfaq.
@anneamy7051
@anneamy7051 7 жыл бұрын
when I reach 10million dollars my startup that time I am invest 1 million. dollar for your work ...I'm sure that day come in future ..i love your work and passion helping and sharing knowledge ....
@Socratica
@Socratica 7 жыл бұрын
Thank you so much for your kind message! We are rooting for your success!! :)
@jhip6269
@jhip6269 6 жыл бұрын
Hire me while you are at it please.
@stank666ocean
@stank666ocean 6 жыл бұрын
can i help?
@kardashevr
@kardashevr 6 жыл бұрын
you can donate them on patreion a smaller amount of money
@timothynorman9170
@timothynorman9170 6 жыл бұрын
How goes your progress?
@o1techacademy
@o1techacademy Жыл бұрын
I have learnt about class before but I have to watch this video because of your classic approach. Thank you very much.
@Ptr-NG
@Ptr-NG 5 жыл бұрын
Classy is the way you present the stuff.. Loved it! Thank you very much
@qwerasdfhjkio
@qwerasdfhjkio 5 жыл бұрын
Socratica:"Classes are fondamntal tools for any respectable programming language" C: Am I a joke to you?
@zyptoskid
@zyptoskid 4 жыл бұрын
All Functional, Imperative, and Logical languages: Are we a joke to you?
@rajab4187
@rajab4187 4 жыл бұрын
Yep
@antred11
@antred11 4 жыл бұрын
She said _respectable_ . 😝
@Barnardrab
@Barnardrab 6 жыл бұрын
So after you create a class, you can add any number of variables to an instance of that class? Coming from Java, that just seems weird.
@HK-sw3vi
@HK-sw3vi 6 жыл бұрын
coming from c++, that just seems weird.
@jatoxo
@jatoxo 6 жыл бұрын
coming from no language, makes sense to me.
@harshpherwani6590
@harshpherwani6590 6 жыл бұрын
Coming from C, it's something completely new
@rg3645
@rg3645 6 жыл бұрын
python is a dynamic language. you also don't have to declare variables before using them and python does a lot of data coercion for you too
@kishanmittal431
@kishanmittal431 6 жыл бұрын
coming from mars , maybe i should go back to mars
@devsbookclub
@devsbookclub 6 жыл бұрын
hands down the most entertaining and educating channel on programming out there!!
@blazinblevins9370
@blazinblevins9370 6 жыл бұрын
Very well put together. I will have to watch it again to make sure i got it all, but it didnt feel like i was watching a boring video. Kept my attention the whole time.
@JamesFrost2k
@JamesFrost2k 6 жыл бұрын
OMG, how I love... PIE-THON!
@raihanakram2512
@raihanakram2512 5 жыл бұрын
. 2:43 , 2:47 , 3:13... . How was a space inserted automatically between the first and last name??!
@sheikhabdulqadirjillani5152
@sheikhabdulqadirjillani5152 5 жыл бұрын
It's because a comma is used here for concatenation. if it were a "+" instead of "," you would have to add space.
@Yaroster
@Yaroster 5 жыл бұрын
This is so great and Creative ! I support this channel 100% !
@fernandofranco8836
@fernandofranco8836 4 жыл бұрын
From all of the rest of python videos Socratica does a really good Job explaining Python.
@pilote111
@pilote111 5 жыл бұрын
Ok am I the only one how come from C++, JAVA, C#, etc , and was like " but, you didn't define first_name and last_name in your class!🤨 "
@sonmai3526
@sonmai3526 5 жыл бұрын
no private or public either, I feel uncomfortable!
@MPaulHolmesMPH
@MPaulHolmesMPH 5 жыл бұрын
I'm glad I'm not the only one!
@atansyankov
@atansyankov 4 жыл бұрын
it`s super strange, i don`t liked
@pythonhd4169
@pythonhd4169 4 жыл бұрын
That is indeed a weird and not very common thing to do in Python. You normally define all your instance variables in the __init__ function. But yes, you can do it in Python....
@skilz8098
@skilz8098 4 жыл бұрын
I've been working with C++ for years and it wasn't the same for me; when I first seen that I was like wow; that's pretty cool you can add a member variable to a class after the class has been created. I thought that was pretty cool. However I did watch a couple of other videos about Python and the core features of its language and what I got from them was that just about everything in Python in a sense is a run time object. Under the hood there are 4 basic data types, int, float and string not counting Boolean such as True and False. Once you create an instance of these at the local or global level you can not change them like you can in other languages. So if you have a variable as such: x = 10 in the global space x will always = 10 and you can not change it, this isn't the same for members. But basically everything you create or declare in Python under the hood is in a general sense a shared pointer object. Everything is created on the heap, there is no stack although you can create a stack object or structure with classes but Python doesn't have any notion of Stack or Variable Storage Specifier such as in C++ with automatic, static etc. I've only been learning Python now for about the past week and I'm catching on very fast. I'm starting to really like the language. The underlying nature of Python and being that it is a Scripting Language is that it is also a Dynamic Language. Everything you create in Python you can use Python's built-ins and some of their libraries to query the underlying pointer or memory address as well as the byte code of any and all Python objects.
@rubinxu1343
@rubinxu1343 5 жыл бұрын
I keep thinking of me watching a game live instead of a python tutorial lol
@icodeint2780
@icodeint2780 3 жыл бұрын
Finally someone that teach without derailing and non necessary nonsense. Thank you.
@amauta5
@amauta5 4 жыл бұрын
I;ve been wathching a bunch of these and i have to say that the humor goes sooo underrated. I love it.
@kshitizshrestha7119
@kshitizshrestha7119 7 жыл бұрын
Why isn't this channel growing much??
@Socratica
@Socratica 7 жыл бұрын
We need your help to grow!! The best thing you could do would be to share our videos on Twitter, Reddit, Facebook, etc. so more people will learn about us. We really appreciate it. We want to stay in business to make more of these videos for you! :)
@Socratica
@Socratica 7 жыл бұрын
Thank you so much for your help! It really makes a difference! :)
@erarman1991
@erarman1991 6 жыл бұрын
Xitiz Shrestha advertisement speaks in this 21st century .
@Cheesypockets
@Cheesypockets 6 жыл бұрын
One of the main reasons comes to be audience. Socratica's videos are excellent, but there are far less programmers than there are people actually on youtube. Though the field is always growing and getting people engaged in what most view as a very dry subject into showing how it empowers the end user, and how useful programming is very important.
@TheKikSmile
@TheKikSmile 5 жыл бұрын
Ken M so programmers aren't people?)
@jordanova4001
@jordanova4001 4 жыл бұрын
Where is the next video then? 7:50
@synergyzer07
@synergyzer07 5 жыл бұрын
This class and the others I've seen so far are great. I would suggest to attribute numbers to the classes, so that the order we should watch them becomes clear. Thanks a lot!
@peluso_palit
@peluso_palit 5 жыл бұрын
i like her voice and the way she explains. That makes me keep watching and learning.
@moose43h
@moose43h 7 жыл бұрын
for reassons 😂😂
@Gallade6349
@Gallade6349 6 жыл бұрын
Aren't "fields" really called "attributes"? I've searched the web for like 30 mins and that's pretty much the conclusion I've drawn
@iLoveTurtlesHaha
@iLoveTurtlesHaha 6 жыл бұрын
Yes they are the same. Attributes are variables in a method, this is also what a field is.
@man0utoftime
@man0utoftime 6 жыл бұрын
An attribute can be a field or a method (a variable or function defined in the class, respectively). Standard terminology varies depending on the language, but that's what I learned with Java.
@man0utoftime
@man0utoftime 6 жыл бұрын
Gallade6349 see previous comment
@man0utoftime
@man0utoftime 6 жыл бұрын
iLoveTurtlesHaha But you aren't wrong: usually "attribute" refers to a field. Rarely will a method be referred to as an attribute. I think the user.age() is a good example of a method which could be considered an attribute, especially since it returns a value derived from fields defined in the class. Whereas a method that deletes a field or changes it's value, for example, would be unlikely to be called an attribute of a class.
@FitLife6767
@FitLife6767 6 жыл бұрын
Blown away... thank you guys for putting together such a nice video ...
@Csal406
@Csal406 3 ай бұрын
Wow, this is fantastic and beats any python learning on youtube. I love this stuff.
@monde7563
@monde7563 5 жыл бұрын
"...because reasons" very dry humor over here.
@Ihavetoreturnsomevideotapes
@Ihavetoreturnsomevideotapes 5 жыл бұрын
ASMR + TUTORIAL = this video.
@namahshrestha3226
@namahshrestha3226 5 жыл бұрын
Exactly
@qasimpakistan
@qasimpakistan 3 жыл бұрын
Direct, clear, and to the point. Kept my attention throughout the whole video. Other videos ramble way too much or try to make it funny, etc.
@codefun3168
@codefun3168 4 жыл бұрын
Classes n instances were explained well..every coding channel need to go back to basics
@lukewarmwater802
@lukewarmwater802 6 жыл бұрын
Although the lessons are good, I get scared by her presentation, as if I might be inducted to a learn programming for evil intentions.
@iLoveTurtlesHaha
@iLoveTurtlesHaha 6 жыл бұрын
LMAO, I think it's cool AF and so do most people watching (as you can see from the comments) :P
@allesmedvesek
@allesmedvesek 5 жыл бұрын
I think the evil intention is you can tell others: "Learn to code" :)
@philippemarquis2727
@philippemarquis2727 2 жыл бұрын
Really well done! Right to the point, major aspect and possibilities covered, concise and clear. Just subscribed, Thanks!
@____2080_____
@____2080_____ 6 жыл бұрын
These videos are fantastic. The presentation is great. The presenter really helps me to learn better than others. Bravo.
@MarkWusinich
@MarkWusinich 4 жыл бұрын
Love your videos. Watching them all.
@alcecellamare3608
@alcecellamare3608 2 жыл бұрын
Best python tutorials I've ever watched.. please keep it up!
@charlescarriere6589
@charlescarriere6589 5 жыл бұрын
this was a fantastic description. thank you!
@jsmythib
@jsmythib 3 жыл бұрын
Articulation, cadence, tone, presentation. Excellent. Very C&C sounding :)
@jeffm6651
@jeffm6651 6 жыл бұрын
This is definitely the type of program that needs to be on PBS. I learned so much today!
Заметили?
00:11
Double Bubble
Рет қаралды 2,4 МЛН
NO NO NO YES! (50 MLN SUBSCRIBERS CHALLENGE!) #shorts
00:26
PANDA BOI
Рет қаралды 102 МЛН
JSON in Python  ||  Python Tutorial  ||  Learn Python Programming
6:16
OOP Class Inheritance and Private Class Members - Python for Beginners!
16:12
AsyncIO, await, and async - Concurrency in Python
9:12
Socratica
Рет қаралды 72 М.