Hi there,
I'm trying to write a subclass of File, but somehow the initialization
of a new instance of this class fails with a "function takes exactly 8
arguments (1 given)" error.
It might well be that I haven't understood some integral aspect of
sublclassing in Python yet =(
So I'd really appreciate any help!
Thanks a lot,
Andreas
My class:
import tables as t
class HDF5file(t.File) :
def __init__(self, filename, mode="r", title="", rootUEP="/",
filters=None, **params) :
super(HDF5file, self).__init__(filename, mode, title, rootUEP,
filters, params)
And the error I get:
>>> from HDF5file import *
>>> h = HDF5file('bla.h5')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: function takes exactly 8 arguments (1 given)
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Pytables-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pytables-users