In Python, Everything is an Object (even Variables and Functions) #21

preview_player
Показать описание
Python is an object-oriented programming language which means that it supports user-defined classes and objects.

In this video, you will build a solid knowledge of Python objects by learning to check the type of objects, listing their attributes & methods, and understanding what actually goes under the hood. What you might not know is that every pre-existing thing available in Python is already an object, whether it is strings, numbers, functions, or even classes.

~

Watch our videos and revise them with our Python App!

Timestamps:
0:00 Intro
0:41 The type() function
2:00 The dir() function
4:31 The id() function
6:08 How variables actually work

Find Programiz elsewhere:
-------------------------------------------------

In Python, Everything is an Object (even Variables and Functions) #21savage

#python #learnprogramming #programiz #python-object #learn-oop #object-orieted-programming
Рекомендации по теме
Комментарии
Автор

🔥 Learn Python with a more hands-on experience with Programiz PRO—interactive lessons, quizzes & challenges.

programizstudios
Автор

I literally watched his whole series in about 2 days, what an amazing channel..

rithvikbodapati
Автор

Learning python with you is the time I enjoy the most! You make it very interesting. Please it would be great if you also make vids on c++

tanvipandit
Автор

Finally I have found the right and I can't wait to watch the other videos of yours.

peterchin
Автор

I really hope you succeed man, the amount of work put into this is insane. Thank you! Wish you the best! Cheers from Romania!

OpenDeepLearning
Автор

Such a great channel! Simply great teaching techniques used!!🙌✨

Mish-
Автор

Your videos are so damn ez to understand amazing...

shubhamguha
Автор

You guys are AWESOME! Keep the great work.

fndpires
Автор

my answer
class Triangle():
def __init__(self, a, b, c):
self.a = a
self.b = b
self.c = c

def perimeter(self):
return self.a + self.b + self.c

T1 = Triangle(2, 3, 4)
perimeter = T1.perimeter()
print(perimeter)

EmereEmmanuel
Автор

I want to learn about how to make bar graphs, use colour for different bar graphs, bar width and pie chart and other related please make a video on it

kartikudainiya
Автор

Good tutorial, but you should explain what it means to have a class attribute with leading & trailing double underscores (attributes which are intended to be called by Python itself when doing standard operations on the object, I think)

BenjaminGSlade
Автор

You make learning python so easy.Can you please also make videos on c++

ayushidhamane
Автор

These days programiz website isn't working we are unable to access the tutorials 😢

Rainbow-rx
Автор

For example a=10
both a and 10 are objects???

nagendrasai
Автор

Very helpful - with clear examples. Thank you.

davidventura
Автор

I have a game about quizzes how do u suggest keep the answers to each question I need help!

רונןפרץ-סר
Автор

When I run this code-> list.__dir__(), output was showing->> TypeError: descriptor '__dir__' of 'object' object needs an argument. What does it mean technically?

sayanjitb
Автор

hi sir please make videos on real time games using python for beginners

creativecodz
Автор

so that means python docent have primitive data types ??

yuvrajagarkar
Автор

I did not find the video useful, instead I found it as a life saver.

parkour.parkour