Hi,
I am a newbie and have to modify some python moduls.
I get the followin error:
TypeError: __init__() takes exactly 3 arguments (2 given)

Here the code snippet:
class gXconv:
    def __init__(self, pathValue):
        self.pathValue=pathValue
        self.__sections = {}
        self.__spalten = {}
        self.labelfiles=[]
etc.....

call:
    try:
        gx=gXconv.gXconv(gXconfPath)
    except gXconv.gXconvertError, msg: 
        print msg
        sys.exit(1)

Hoping for hints.....
Wolfgang
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to