Getattr () function in Python
The getattr () function in Python returns the value of the property you want to find, if the object does not have this property the function will return the default value provided.
Learn basic programming with C, C++, Python, JavaScript, PHP, CSS, HTML5 programming languages. You can also find tutorials on databases, SQL Server here.
The getattr () function in Python returns the value of the property you want to find, if the object does not have this property the function will return the default value provided.
We believe that the first step in learning any programming language is to ensure that you understand how to learn because this is arguably the most important skill related to
The globals () function in Python returns a dictionary containing the variables defined in the global namespace.
The locals () function in Python returns a dictionary containing the variables defined in the local namespace.
List () creates a list in Python. So what is the syntax of list () function, what parameters does it have and how to use it? Invites you to read the track.
In this article, we will work with you to learn how to handle dates and times in Python with specific examples to make it easier to visualize and capture functions better. Invites
If you are a developer or you are studying and want to stick with this industry, learn Python to add a highlight in your journey.
In order to learn well Python, it is essential that you find yourself an appropriate IDE to develop. Quantrimang would like to introduce some of the best environments to help
The vars () function in Python returns the __dict__ attribute of the passed object if the object has the __dict__ attribute.
The built-in function tuple () in Python is used to create a tuple.
The zip () function in Python returns a zip object, a list iterator of tuples that combines elements from other iterators (made of iterable words).
If you take the time to learn programming trends on the Internet, you've probably heard of functional programming. Here are 5 functional programming languages you should know.
Python is an object-oriented programming language. Unlike procedural programming, which emphasizes functions, object-oriented programming focuses on objects. This article
Inheriting in object-oriented programming allows us to declare new classes to re-use the parent class's functions and attributes and extra functions. In this article, we will
Inheritance allows us to declare the new class to re-use the parent class's functions and attributes and extra functions. In this article, Quantrimang will continue the lesson
Guido van Rossum, a Dutch programmer, created Python in 1991. Python is based on a simple philosophy: Minimalist. One of the interesting things about Python is that it combines
You can change the meaning of the operator in Python depending on the operand used and we call that operator overloading. Quantrimang will learn more about this content through
In Python, the complex () function returns a complex number when the user provides a virtual and real part, or turns a string into a complex number. How does the complex ()
The compile () function returns a code object in Python from the specified source. So how to use compile () function? Please find out in this article.
The delattr () function in Python is used to delete an attribute from the specified object. How does the delattr () function have a syntax, what parameters do you have, please