but still I am not clear of the execution of the code, when we write or execute a piece of python code without defining class, predefined class attributes are available (not all but __name__ and __doc__ are available). does it mean anything to this topic. Is it necessory to have __module__, __dict__ and __bases__ for a class object in python?<br>
<br><div class="gmail_quote">
On Thu, Jan 29, 2009 at 5:21 PM, Tino Wildenhain <span dir="ltr"><<a href="mailto:tino@wildenhain.de" target="_blank">tino@wildenhain.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

<div>Muriel de Souza Godoi wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Python offers support for object orientation, but it's not an object-oriented language.<br>
I mean, you can code a entire program in Python with no classes. So you use it if you want to.<br>
<br>
It's not like java, which you must use a class to code a Hello World, but Java isn't fully object-oriented, because it doesn't provide support for multiple inheritance and it has primitive types (multiple interfaces and wrappers to primitive types doesn't count  :) )<br>


<br>
AFAIK, the unique fully object oriented languagem is Smaltalk. (maybe Simula?), where everything is a class, even the primitive types.<br>
</blockquote>
<br></div>
well actually except keywords, everything is an object in python too,<br>
including of course primitive types (if you say so - practically python<br>
does not have them).<br>
<br>
Regards<br><font color="#888888">
Tino<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Regards,<br><br>Maneesh KB<br><br>Comat Technologies<br><br>Bangalore<br><br>Mob: 9740-192309<br><br> <br><br>We work with the underprivileged and in rural India. If you are interested to be a part of it, please mail or call me. I will be happy to share and inform - <a href="http://www.comat.com" target="_blank">http://www.comat.com</a> <br>