<br><br><div><span class="gmail_quote">On 9/10/07, <b class="gmail_sendername">Nagarajan</b> <<a href="mailto:naga86@gmail.com">naga86@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br><br>What's the difference b/w:<br>     class A:<br>and<br>     class A ( object ):<br><br>Thanks.<br></blockquote></div><br>The first one declares an old-style class. The second one declares a new style class. <br>
It's better to use the new-style (always derive from object).<br><br>See<br><a href="http://www.python.org/doc/newstyle.html">http://www.python.org/doc/newstyle.html</a><br>for further reading<br><br>francesco<br>