[Python-talk] Speaking of oops. How to call a method in another class in another file?

Kent Johnson kent37 at tds.net
Wed Jul 29 13:42:07 EDT 2009


On Wed, Jul 29, 2009 at 10:02 AM, <bruce.labitt at autoliv.com> wrote:
> In some ways just using a function would be a lot easier for me.  (At
> least I understand that!) However, I want to understand when to use a
> simple function vs. a method.  What are the advantages and disadvantages
> of each?

I have written some simple notes on when to use classes:
http://personalpages.tds.net/~kent37/stories/00014.html

Kent


More information about the Python-talk mailing list