Home arrow Python arrow More Object Orientation in Python

More Object Orientation in Python

This article goes beyond the basics of object orientation in Python. It covers the interesting things you can do with new-style classes, including properties and attributes, as well as other useful information.

TABLE OF CONTENTS:
  1. More Object Orientation in Python
  2. Types and Classes
  3. Properties
  4. Methods: Instance, Class and Static
By: Peyton McCullough
Rating: starstarstarstarstar / 11
December 06, 2005

print this article
SEARCH DEV SHED

TOOLS YOU CAN USE

advertisement

Introduction

If you're reading this, you should be familiar with basic object orientation in Python because this article assumes that you're familiar with the basics of objects. In this article, we'll build on basic object orientation and introduce some newer (by that, I mean a few years old; nothing new came out while you were asleep) features of Python, some of them pretty powerful.

If you come from other languages, some of these new features implemented may or may not be familiar to you. You also may or may not find a use for some of these new features in many of your Python scripts, but they are certainly worth taking a look at because they can potentially add a new level to your code, allowing more flexibility and efficiency.

Before you go any further, you may want to read an earlier article I wrote about object orientation in Python. You can find that piece here.

With the boring front matter covered, let's get started.



 
 
>>> More Python Articles          >>> More By Peyton McCullough
 

blog comments powered by Disqus
escort Bursa Bursa escort Antalya eskort
   

PYTHON ARTICLES

- Python Big Data Company Gets DARPA Funding
- Python 32 Now Available
- Final Alpha for Python 3.2 is Released
- Python 3.1: String Formatting
- Python 3.1: Strings and Quotes
- Python 3.1: Programming Basics and Strings
- Tuples and Other Python Object Types
- The Dictionary Python Object Type
- String and List Python Object Types
- Introducing Python Object Types
- Mobile Programming using PyS60: Advanced UI ...
- Nested Functions in Python
- Python Parameters, Functions and Arguments
- Python Statements and Functions
- Statements and Iterators in Python

Developer Shed Affiliates

 


Dev Shed Tutorial Topics: