Python

Python Menu

Python

Python object() Function - Definition, Syntax, Parameters, Examples

Definition

The object() function returns an empty object. You cannot add new properties or methods to this object.

This object is the base for all classes, it holds the built-in properties and methods which are default for all classes.

Syntax

object()

Parameters

No Parameters.

Examples

myObject = object() print(myObject)

Introduction

Python Basics

Python Advance

Data Science Python Tutorials

Python Functions and Methods