Pyflix, confused about super() call

Bruno Desthuilliers bruno.42.desthuilliers at websiteburo.invalid
Tue Sep 23 16:58:51 CEST 2008


process a écrit :
> Anyone using Pyflix for the Netflix  prize.
> 
> How can it call super to itself in its init-method?
> 

You mean :

> class MovieAverage(Algorithm): 
>     def __init__(self, training_set):
>         self._movie_averages = {}

this line  ?

           super(MovieAverage,self).__init__(training_set)


If that's what confuse you, I think you really should read the 
FineManual(tm) instead of assuming Python is language X or Y.




More information about the Python-list mailing list