Object-oriented programming
The Python language

Add to my library

H3110 V3 Article

Object-oriented programming
The Python language

Author : Tarek ZIADÉ

Review date: April 27, 2016 | Lire en français

Add to my library Add to my library

Logo Techniques de l'Ingenieur You do not have access to this resource.
Request your free trial access! Free trial

Already subscribed?

6. Object-oriented programming

Python is a fully-fledged object-oriented language, even if it is careful not to impose Object-Oriented Programming (OOP) as Java does: you don't need to master this aspect to create perfectly accomplished Python scripts based on functional programming.

6.1 Classes

A class is defined using the class keyword, and variables and functions can be grouped together in the body of the definition.

Example:

>>> class leux(object):

...             def method_1(self):

......

You do not have access to this resource.
Logo Techniques de l'Ingenieur

Exclusive to subscribers. 97% yet to be discovered!

You do not have access to this resource. Click here to request your free trial access!

Already subscribed?


Ongoing reading
Object-oriented programming

Article included in this offer

"Software technologies and System architectures"

( 234 articles )

Complete knowledge base

Updated and enriched with articles validated by our scientific committees

Services

A set of exclusive tools to complement the resources

View offer details
Contact us