I would recommend Bruce Eckel's Thining in Python. Check it out hereĀ <a href="http://www.mindview.net/Books/TIPython/">http://www.mindview.net/Books/TIPython/</a><br clear="all"><div dir="ltr"><div><br></div></div>
<br><br><div class="gmail_quote">On Sun, Aug 5, 2012 at 8:28 PM, Mark Lawrence <span dir="ltr"><<a href="mailto:breamoreboy@yahoo.co.uk" target="_blank">breamoreboy@yahoo.co.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="HOEnZb"><div class="h5">On 05/08/2012 19:04, Jean Dubois wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On 5 aug, 02:11, <a href="mailto:shearich...@gmail.com" target="_blank">shearich...@gmail.com</a> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
One reason you may be having difficulty is that unlike some languages (C++/Java) object-orientation is not a be all and end all in Python, in fact you could work with Python for a long time without really 'doing it' at all (well other than calling methods/properties on existing API's). Having said that here's what I would suggest ...<br>

<br>
Could do worse than this :<br>
<br>
<a href="http://www.diveintopython.net/object_oriented_framework/index.html" target="_blank">http://www.diveintopython.net/<u></u>object_oriented_framework/<u></u>index.html</a><br>
<br>
</blockquote>
This example seems to tell you need the concept of dictionaries to<br>
explain object oriented programming, is this really necessary?<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
and this<br>
<br>
<a href="http://docs.python.org/tutorial/classes.html" target="_blank">http://docs.python.org/<u></u>tutorial/classes.html</a><br>
</blockquote>
Unfortunately, the trouble with this explanation is exactly what made<br>
me ask the original question: it starts from concepts in c++ making it<br>
very hard to understand for someone who does not know that language<br>
already.<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
read together.<br>
<br>
Judging by your question this is a probably a little advanced for now but you could bookmark it for the future:<br>
<br>
<a href="http://www.catonmat.net/blog/learning-python-design-patterns-through-." target="_blank">http://www.catonmat.net/blog/<u></u>learning-python-design-<u></u>patterns-through-.</a>..<br>
<br>
Here's the corresponding PDF to go with the video:<br>
<br>
<a href="http://assets.en.oreilly.com/1/event/45/Practical%20Python%20Patterns." target="_blank">http://assets.en.oreilly.com/<u></u>1/event/45/Practical%20Python%<u></u>20Patterns.</a>..<br>
</blockquote>
Can someone here on this list give a trivial example of what object<br>
oriented programming is, using only Python?<br>
<br>
thanks in advance<br>
Jean<br>
<br>
</blockquote>
<br></div></div>
Try this <a href="http://www.voidspace.org.uk/python/articles/OOP.shtml" target="_blank">http://www.voidspace.org.uk/<u></u>python/articles/OOP.shtml</a> ???<span class="HOEnZb"><font color="#888888"><br>
<br>
-- <br>
Cheers.<br>
<br>
Mark Lawrence.<br>
<br>
-- <br>
<a href="http://mail.python.org/mailman/listinfo/python-list" target="_blank">http://mail.python.org/<u></u>mailman/listinfo/python-list</a><br>
</font></span></blockquote></div><br>