I am trying to update anonymize slide (which deletes slide labels from scanned virtual slides) to work with Python3. It was written for Python2.6
or 2.7. I don't think that python version compatibility is the problem here, though I could be wrong. Here's the code giving me the error:
class TiffFile(file):
def __init__(self, path):
file.__init__(self, path, 'r+b')
TypeError: __init__() takes 2 positional arguments but 4 were given
I haven't used classes and methods too much, so these multiple init layers are confusing for me. Hopefully, the overall code will compile if this issue is fixed.