Python object() builtin function is used to create a new featureless object. object is kind of base for all classes in Python.
In this tutorial, we will learn about the syntax of Python object() function, and learn how to use this function with the help of examples.
The syntax of object() function is
object() function takes no arguments.
The function returns object.
In this example, we create a new object using object() function.
x = object() print(x)Try Online
<object object at 0x100ab84d0>
In this Python Tutorial, we have learnt the syntax of Python object() builtin function, and also learned how to use this function, with the help of Python example programs.