I\'m trying to translate some python code to scala code. So I\'m a total noob in Python.
But why do some classes have object as a parameter but never explicitly use
The Table class is extending a class called object. It's not an argument. The reason you may want to extend object explicitly is it turns the class into a new-style class. If you don't explicitly specify it extends object, until Python 3, it will default to being an old-style class. (Since Python 3, all classes are new-style, whether you explicitly extend object or not.)
For more information on new-style and old-style classes, please see this question.