Hello everyone,
I have been through the Starting Python thread, and I have archived lots of stuff for further learning !
But there is one little thing for which there is no specific explanation, and looking at Google doesn't help me much.
Why do the classes of many scripts are not written like that:
class NameAClass:
def ...
But instead like this:
class NameAClass(object):
def ...
Here is a post containing one script like that
What does it brings to the code ? What does is the reference behind the object "object" ?
What is the use for that and what kind of problems does it solve ?
Thanks !