Bruno Desthuilliers wrote:
> hdixon a écrit :
> > Ive spent a few days going thru a couple of Python tutorials. No
> > problem until I got to classes. I guess my java mindset is blocking my
> > vision.
>
> Then http://dirtsimple.org/2004/12/python-is-not-java.html
>
> > I've borrowed another threa
hdixon a écrit :
> Ive spent a few days going thru a couple of Python tutorials. No
> problem until I got to classes. I guess my java mindset is blocking my
> vision.
Then http://dirtsimple.org/2004/12/python-is-not-java.html
> I've borrowed another thread's code snippet and cannot explain
> the
Ive spent a few days going thru a couple of Python tutorials. No
problem until I got to classes. I guess my java mindset is blocking my
vision. I've borrowed another thread's code snippet and cannot explain
the results:
class MyClass:
list = []
myvar = 10
def add(self, x):
self