Re: member functions in a class

2008-09-18 Thread Terry Reedy
Karl Kobata wrote: I am new to python and am wondering. When I create a class, with ‘def’ functions and if this class is instantiated say 50 times. Does this mean that all the ‘def’ functions code within the class is duplicated for each instance? Can someone give me a short and simple answe

Re: member functions in a class

2008-09-18 Thread Gary Herron
Karl Kobata wrote: I am new to python and am wondering. When I create a class, with ‘def’ functions and if this class is instantiated say 50 times. Does this mean that all the ‘def’ functions code within the class is duplicated for each instance? Can someone give me a short and simple answe