[Tutor] OOP fundamentals
janos.juhasz at VELUX.com
Tue Sep 20 08:26:46 CEST 2005
last month I have found this beautifull sample about threads and sockets:
It helped me to a lot to understand how these can be used together on an
It helped me much better, than any hypothetical OOP samples about cars and
wheels, those really usefull just for programming teachers who never made
any real programm, but has to tell something about why OOP is good to
It was so nice to read and understand a so clean code.
Probably it can help your understanding eighter.
The other place where I feel OOP very natural is using wxPython.
There is another recipe about portscanning with OOP and threading:
> Message: 5
> Date: Mon, 19 Sep 2005 17:01:30 -0400
> From: Ed Hotchkiss <edhotchkiss at gmail.com>
> Subject: Re: [Tutor] OOP fundamentals
> To: Danny Yoo <dyoo at hkn.eecs.berkeley.edu>
> Cc: Tutor <tutor at python.org>
> Message-ID: <d1bf1fa2050919140120325ee1 at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
> Thanks Danny! Tommorrow I am off to get "Programming for Python, 2nd
> edition" and learn everything - all of it, before I even bother with
> Sockets. Afterall, I want python for EVERYTHING not just sockets and inet
> based scripts/applications.
> I realized that I need to take a step back, make port scanner a class
> does nothing but really help me learn classes, then insert threading,
> once that works, insert the actual sockets into their respective class
> etc ... Thanks again ...
> Next time I post, I'll have something either more abstract/theory
> or something that isn't quite so simple!
> Thanks again everyone thats been helping me out especially danny!
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: http://mail.python.
More information about the Tutor