Tutorials
Courses
Go Premium
Data Structure
Java
Python
HTML
Interview Preparation
DSA
Practice Problems
C
C++
Java
Python
JavaScript
Data Science
Machine Learning
Courses
Linux
DevOps
SQL
Web Development
System Design
Aptitude
GfG Premium
Similar Topics
Web Technologies
32.1K+ articles
DSA
20.0K+ articles
Python
19.6K+ articles
Experiences
15.8K+ articles
Interview Experiences
14.1K+ articles
School Learning
11.1K+ articles
python
1.2K+ articles
Programming Language
339+ articles
Python-Built-in-functions
139+ articles
Python-OOP
67+ articles
python-object
6 posts
Recent Articles
Popular Articles
Stringio And Bytesio For Managing Data As File Object
Last Updated: 24 July 2025
StringIO and BytesIO are classes provided by the io module in Python. They allow you to treat strings and bytes respectively as file-like objects. This can be useful when ...
read more
Python
Picked
Geeks Premier League
python-object
Geeks Premier League 2023
Tips to reduce Python object size
Last Updated: 12 July 2025
We all know a very common drawback of Python when compared to programming languages such as C or C++. It is significantly slower and isn't quite suitable to perform memory...
read more
Python
Programming Language
python-object
Python object() method
Last Updated: 11 July 2025
The Python object() function returns the empty object, and the Python object takes no parameters.Syntax of Python object()For versions of Python 3.x, the default situation...
read more
Python
Python-Built-in-functions
python-object
Python setattr() method
Last Updated: 11 July 2025
Python setattr() method is used to assign the object attribute its value. The setattr() can also be used to initialize a new object attribute. Also, setattr() can be used ...
read more
Python
Python-Built-in-functions
Python-OOP
python-object
python
Python | getattr() method
Last Updated: 11 July 2025
The getattr() method in Python returns the value of a named attribute of an object. If the attribute is not found then it returns the default value provided. If no default...
read more
Python
Python-Built-in-functions
Python-OOP
python-object
python
Python hasattr() method
Last Updated: 11 July 2025
Python hasattr() function is an inbuilt utility function, which is used to check if an object has the given named attribute and return true if present, else false. In this...
read more
Python
Python-Built-in-functions
Python-OOP
python-object
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our
Cookie Policy
&
Privacy Policy
Got It !