By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,814 Members | 1,111 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,814 IT Pros & Developers. It's quick & easy.

about python oop

P: 9
iam new for python language, and getting confusion to use python classes can you tell me about the classes of python
Aug 11 '07 #1
Share this Question
Share on Google+
1 Reply


bartonc
Expert 5K+
P: 6,596
iam new for python language, and getting confusion to use python classes can you tell me about the classes of python
Without examples of what you are trying to do, I'll describe Object Oriented Programming in general:
Principles of Object Oriented Programming

Object oriented programming (hereafter known as OOP) is popularly based on three principles identified by the acronym PIE: (a) Polymorphism (b) Inheritance (c) Encapsulation These underlying principles evolved at the time when structured programming languages ruled the roost and it was almost impossible to write code in anything but a giant, unintuitive slab.
Python classes enable this model of programming and much more. They can also be used as storage, much like a 'structure' in C, etc.


I need for you to read and understand our Posting Guidelines and acknowledge that you have done so. Thank you.
Aug 11 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.